[ekiga/ds-clutter] GmWindow: Fixed stay-on-top property not working.



commit 16cc0fe77f5c390f72cb5be25fd68419da3fc6e9
Author: Damien Sandras <dsandras beip be>
Date:   Tue Jan 7 20:14:18 2014 +0100

    GmWindow: Fixed stay-on-top property not working.

 lib/gui/gmwindow.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/lib/gui/gmwindow.c b/lib/gui/gmwindow.c
index e8f6fb4..febda10 100644
--- a/lib/gui/gmwindow.c
+++ b/lib/gui/gmwindow.c
@@ -214,13 +214,15 @@ gm_window_class_init (GmWindowClass* klass)
                                TRUE, (GParamFlags) G_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, GM_HIDE_ON_ESC, spec);
 
-  spec = g_param_spec_boolean ("hide_on_delete", "Hide on delete-event", "Hide on delete-event (or just 
relay the event)",
+  spec = g_param_spec_boolean ("hide_on_delete", "Hide on delete-event",
+                               "Hide on delete-event (or just relay the event)",
                               TRUE, (GParamFlags) G_PARAM_READWRITE);
   g_object_class_install_property (gobject_class, GM_HIDE_ON_DELETE, spec);
 
-  spec = g_param_spec_boolean ("stay_on_top", "Stay on top", "Indicates if the window should stay on top of 
other windows",
+  spec = g_param_spec_boolean ("stay_on_top", "Stay on top",
+                               "Indicates if the window should stay on top of other windows",
                                FALSE, (GParamFlags) G_PARAM_READWRITE);
-  g_object_class_install_property (gobject_class, GM_HIDE_ON_ESC, spec);
+  g_object_class_install_property (gobject_class, GM_STAY_ON_TOP, spec);
 }
 
 


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