diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-12-19 11:47:58 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-12-19 11:47:58 +0000 |
commit | 5225ae610541a6213efb4e59e3aaa2382f2013f3 (patch) | |
tree | 843fcec569a73e35af114eab1bc8b1ca4cb98787 | |
parent | 8fc5066a69f37a095354eed184d5582a0a5d6744 (diff) | |
download | gdk-pixbuf-5225ae610541a6213efb4e59e3aaa2382f2013f3.tar.gz |
always run a g_main_iteration, even if there are no active main loops.
* gtk/gtkmain.c: always run a g_main_iteration, even if
there are no active main loops. This fixes the gimp splash
screen.
-Yosh
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtkmain.c | 16 |
8 files changed, 48 insertions, 10 deletions
@@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9464a9a6c..0d95a5122 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org> + + * gtk/gtkmain.c: always run a g_main_iteration, even if + there are no active main loops. This fixes the gimp splash + screen. + Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org> * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 9082eac79..f73ddc504 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -526,12 +526,10 @@ gtk_events_pending (void) gint gtk_main_iteration (void) { - if (main_loops) - { - g_main_iteration (TRUE); + g_main_iteration (TRUE); - return !g_main_is_running (main_loops->data); - } + if (main_loops) + return !g_main_is_running (main_loops->data); else return TRUE; } @@ -539,12 +537,10 @@ gtk_main_iteration (void) gint gtk_main_iteration_do (gboolean blocking) { - if (main_loops) - { - g_main_iteration (blocking); + g_main_iteration (blocking); - return !g_main_is_running (main_loops->data); - } + if (main_loops) + return !g_main_is_running (main_loops->data); else return TRUE; } |