summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2010-11-05 00:21:17 -0400
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2011-01-27 17:00:02 -0500
commit737409baf11215876a8721a9039c073784f513f4 (patch)
treebe1dc5242df3d8e4615ea09ec351070cccd934cd
parent677fca55bf909d34ebe8f0493286cad038ee2579 (diff)
Call gdk_flush() in set_busy().
Otherwise, the cursor won't show up. (GTK+ 2.22).
-rw-r--r--sysprof.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysprof.c b/sysprof.c
index cc676a9..55f1b09 100644
--- a/sysprof.c
+++ b/sysprof.c
@@ -270,6 +270,8 @@ set_busy (GtkWidget *widget,
if (cursor)
gdk_cursor_unref (cursor);
+
+ gdk_flush();
}
static void
@@ -1726,10 +1728,6 @@ main (int argc,
g_idle_add_full (G_PRIORITY_LOW, load_file, file_open_data, NULL);
}
-#if 0
- g_idle_add (gtk_main_quit, NULL);
-#endif
-
gtk_main ();
return 0;