]> Pileus Git - ~andy/gtk/commitdiff
GtkMenuButton: remove menu property as it is replaced by popup.
authorIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 17 Oct 2012 12:07:31 +0000 (14:07 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 17 Oct 2012 12:07:31 +0000 (14:07 +0200)
See that it was already announced to be removed before 3.6.0
but we forgot.

gtk/gtkmenubutton.c

index b46dd3a4ffdc58ce3b4c40477fe4d21c68092db0..60c37399b446d77a6adfa28156cc4639e13a1223 100644 (file)
@@ -516,22 +516,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
                                                         P_("The dropdown menu."),
                                                         GTK_TYPE_MENU,
                                                         G_PARAM_READWRITE));
-   /**
-   * GtkMenuButton:menu:
-   *
-   * The #GtkMenu that will be popped up when the button is clicked.
-   * This property has been renamed to "popup".  "menu" will be
-   * removed before 3.6.0.
-   *
-   * Since: 3.6
-   */
-  g_object_class_install_property (gobject_class,
-                                   PROP_POPUP, /* [sic] */
-                                   g_param_spec_object ("menu",
-                                                        P_("menu"),
-                                                        P_("The dropdown menu."),
-                                                        GTK_TYPE_MENU,
-                                                        G_PARAM_DEPRECATED | G_PARAM_READWRITE));
+
   /**
    * GtkMenuButton:menu-model:
    *