[gucharmap] charmap: Fix menubar visibility



commit 58fd9777afc5b0959b9975150701de3043263631
Author: Christian Persch <chpe gnome org>
Date:   Fri Feb 6 20:43:47 2015 +0100

    charmap: Fix menubar visibility

 gucharmap/gucharmap-window.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gucharmap/gucharmap-window.c b/gucharmap/gucharmap-window.c
index 74d7969..f67f97e 100644
--- a/gucharmap/gucharmap-window.c
+++ b/gucharmap/gucharmap-window.c
@@ -875,28 +875,11 @@ gucharmap_window_finalize (GObject *object)
   G_OBJECT_CLASS (gucharmap_window_parent_class)->finalize (object);
 }
 
-static GObject *
-gucharmap_window_constructor (GType                  type,
-                              guint                  n_construct_properties,
-                              GObjectConstructParam *construct_params)
-{
-  GObject *object;
-
-  object = G_OBJECT_CLASS (gucharmap_window_parent_class)->constructor (type, n_construct_properties, 
construct_params);
-  g_object_bind_property (gtk_settings_get_default (),
-                          "gtk-shell-shows-app-menu",
-                          object, "show-menubar",
-                          G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
-
-  return object;
-}
-
 static void
 gucharmap_window_class_init (GucharmapWindowClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  object_class->constructor = gucharmap_window_constructor;
   object_class->finalize = gucharmap_window_finalize;
 }
 


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