[beast] BEAST-GTK: work around gtk_grab_add asserting realized widgets
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BEAST-GTK: work around gtk_grab_add asserting realized widgets
- Date: Tue, 23 Oct 2012 16:09:27 +0000 (UTC)
commit 2063dcbdc2238dccf877faed8371df9f682a536e
Author: Tim Janik <timj gnu org>
Date: Mon Oct 22 17:58:24 2012 +0200
BEAST-GTK: work around gtk_grab_add asserting realized widgets
beast-gtk/bstsplash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstsplash.c b/beast-gtk/bstsplash.c
index a5711f6..cb69226 100644
--- a/beast-gtk/bstsplash.c
+++ b/beast-gtk/bstsplash.c
@@ -258,12 +258,12 @@ bst_splash_show_grab (GtkWidget *widget)
if (!GTK_WIDGET_VISIBLE (widget))
{
+ gtk_widget_show (widget);
if (!self->has_grab)
{
self->has_grab = TRUE;
gtk_grab_add (widget);
}
- gtk_widget_show (widget);
GDK_THREADS_LEAVE ();
while (!GTK_WIDGET_MAPPED (widget))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]