[gtk+] menu: Remove vertical/horizontal-offset style properties



commit 7d84f744c2f1ed0d3a5e1f442d2fec84299b6dcb
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 11 12:07:33 2016 +0200

    menu: Remove vertical/horizontal-offset style properties

 gtk/gtkmenu.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 6b8accc..0a3cab9 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -823,24 +823,6 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                       G_PARAM_STATIC_BLURB |
                                                       G_PARAM_EXPLICIT_NOTIFY));
 
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("vertical-offset",
-                                                             P_("Vertical Offset"),
-                                                             P_("When the menu is a submenu, position it 
this number of pixels offset vertically"),
-                                                             G_MININT,
-                                                             G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE));
-
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("horizontal-offset",
-                                                             P_("Horizontal Offset"),
-                                                             P_("When the menu is a submenu, position it 
this number of pixels offset horizontally"),
-                                                             G_MININT,
-                                                             G_MAXINT,
-                                                             -2,
-                                                             GTK_PARAM_READABLE));
-
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
                                               g_param_spec_int ("left-attach",


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