mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +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)
|
if (cursor)
|
||||||
gdk_cursor_unref (cursor);
|
gdk_cursor_unref (cursor);
|
||||||
|
|
||||||
|
gdk_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -1726,10 +1728,6 @@ main (int argc,
|
|||||||
g_idle_add_full (G_PRIORITY_LOW, load_file, file_open_data, NULL);
|
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 ();
|
gtk_main ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user