[sysprof/newui: 2/24] Call gdk_flush() in set_busy().
- From: SÃren Sandmann Pedersen <ssp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/newui: 2/24] Call gdk_flush() in set_busy().
- Date: Wed, 29 Jun 2011 06:38:03 +0000 (UTC)
commit 6bc84c9bf511231f2f75831a77f341d978cfd40b
Author: SÃren Sandmann Pedersen <sandmann daimi au dk>
Date: Fri Nov 5 00:21:17 2010 -0400
Call gdk_flush() in set_busy().
Otherwise, the cursor won't show up. (GTK+ 2.22).
sysprof.c | 6 ++----
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]