[gtk+/wip/baedert/box: 5/65] menu: Remove vertical/horizontal-offset style properties



commit 5c9b5af80bd7cae377d896fa8885df0203dbabba
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 2b4b1d1..727db41 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]