[gtk+/wip/desrt/popover-iconic: 1/10] GtkMenuTracker: remove "visible" property
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/desrt/popover-iconic: 1/10] GtkMenuTracker: remove "visible" property
- Date: Mon, 28 Apr 2014 16:15:35 +0000 (UTC)
commit b79deb86cdc479fec637fb17b8c6e94d1f712a15
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Apr 28 10:12:25 2014 +0200
GtkMenuTracker: remove "visible" property
This is in conflict with the "is-visible" pseudo-property which is about
to be promoted to being an actual property.
gtk/gtkmenutrackeritem.c | 12 ------------
gtk/gtkmenutrackeritem.h | 2 --
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtkmenutrackeritem.c b/gtk/gtkmenutrackeritem.c
index 8477a6b..869251c 100644
--- a/gtk/gtkmenutrackeritem.c
+++ b/gtk/gtkmenutrackeritem.c
@@ -110,7 +110,6 @@ enum {
PROP_LABEL,
PROP_ICON,
PROP_SENSITIVE,
- PROP_VISIBLE,
PROP_ROLE,
PROP_TOGGLED,
PROP_ACCEL,
@@ -173,9 +172,6 @@ gtk_menu_tracker_item_get_property (GObject *object,
case PROP_SENSITIVE:
g_value_set_boolean (value, gtk_menu_tracker_item_get_sensitive (self));
break;
- case PROP_VISIBLE:
- g_value_set_boolean (value, gtk_menu_tracker_item_get_visible (self));
- break;
case PROP_ROLE:
g_value_set_enum (value, gtk_menu_tracker_item_get_role (self));
break;
@@ -230,8 +226,6 @@ gtk_menu_tracker_item_class_init (GtkMenuTrackerItemClass *class)
g_param_spec_object ("icon", "", "", G_TYPE_ICON, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
gtk_menu_tracker_item_pspecs[PROP_SENSITIVE] =
g_param_spec_boolean ("sensitive", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
- gtk_menu_tracker_item_pspecs[PROP_VISIBLE] =
- g_param_spec_boolean ("visible", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
gtk_menu_tracker_item_pspecs[PROP_ROLE] =
g_param_spec_enum ("role", "", "",
GTK_TYPE_MENU_TRACKER_ITEM_ROLE, GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
@@ -618,12 +612,6 @@ gtk_menu_tracker_item_get_sensitive (GtkMenuTrackerItem *self)
return self->sensitive;
}
-gboolean
-gtk_menu_tracker_item_get_visible (GtkMenuTrackerItem *self)
-{
- return TRUE;
-}
-
GtkMenuTrackerItemRole
gtk_menu_tracker_item_get_role (GtkMenuTrackerItem *self)
{
diff --git a/gtk/gtkmenutrackeritem.h b/gtk/gtkmenutrackeritem.h
index 2d9ff16..61bf250 100644
--- a/gtk/gtkmenutrackeritem.h
+++ b/gtk/gtkmenutrackeritem.h
@@ -62,8 +62,6 @@ GIcon * gtk_menu_tracker_item_get_icon (GtkMenu
gboolean gtk_menu_tracker_item_get_sensitive (GtkMenuTrackerItem *self);
-gboolean gtk_menu_tracker_item_get_visible (GtkMenuTrackerItem *self);
-
GtkMenuTrackerItemRole gtk_menu_tracker_item_get_role (GtkMenuTrackerItem *self);
gboolean gtk_menu_tracker_item_get_toggled (GtkMenuTrackerItem *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]