[ekiga] GMWindow: Fixed major bug preventing windows to be opened twice.



commit 5f04e0784917bb8d6ce71cf02244950826851d61
Author: Damien Sandras <dsandras beip be>
Date:   Sun Mar 4 14:09:46 2012 +0100

    GMWindow: Fixed major bug preventing windows to be opened twice.
    
    This was affecting all windows based on the GObject and closed using the
    WM.

 lib/gui/gmwindow.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/lib/gui/gmwindow.c b/lib/gui/gmwindow.c
index 42fad8a..c093f69 100644
--- a/lib/gui/gmwindow.c
+++ b/lib/gui/gmwindow.c
@@ -245,9 +245,9 @@ static gboolean
 old_style_gm_window_delete_event_cb (GtkWidget* window,
                                      G_GNUC_UNUSED gpointer data)
 {
-    gm_window_hide (window);
-    return TRUE;
- }
+  gm_window_hide (window);
+  return TRUE;
+}
 
 
 static gboolean
@@ -261,8 +261,7 @@ gm_window_delete_event_cb (GtkWidget *w,
   if (self->priv->hide_on_delete)
     gtk_widget_hide (w);
 
-
-  return FALSE;
+  return TRUE;
 }
 
 



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