[ekiga/ds-gsettings3] Extwindow: Fixed crash when changing stay-on-top key.



commit cfaaf8799bc95f267576272c39abd3f7b3566c17
Author: Damien Sandras <dsandras beip be>
Date:   Sat Nov 23 12:36:40 2013 +0100

    Extwindow: Fixed crash when changing stay-on-top key.

 lib/engine/gui/gtk-frontend/ext-window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/ext-window.cpp b/lib/engine/gui/gtk-frontend/ext-window.cpp
index b56c820..6a657a0 100644
--- a/lib/engine/gui/gtk-frontend/ext-window.cpp
+++ b/lib/engine/gui/gtk-frontend/ext-window.cpp
@@ -117,7 +117,6 @@ gui_layout (EkigaExtWindow *ew)
   ew->priv->video = gtk_image_new ();
   gtk_container_add (GTK_CONTAINER (ew->priv->event_box), ew->priv->video);
   gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (ew->priv->event_box), FALSE, FALSE, 0);
-  gtk_widget_show (ew->priv->event_box);
 
   ew->priv->zin = zin;
   ew->priv->zout = zout;
@@ -126,6 +125,7 @@ gui_layout (EkigaExtWindow *ew)
   g_signal_connect (zout, "clicked", G_CALLBACK (zoom_out), ew);
 
   gtk_widget_show_all (vbox);
+  gtk_widget_realize (vbox);
 
   gtk_window_set_resizable (GTK_WINDOW (ew), FALSE);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]