mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Call gdk_flush() in set_busy().
Otherwise, the cursor won't show up. (GTK+ 2.22).
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user