[gtk+/wip/action-helper] gtkactionhelper: don't read action-role from the widget
- From: Lars Uebernickel <larsu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/action-helper] gtkactionhelper: don't read action-role from the widget
- Date: Fri, 17 Aug 2012 09:21:57 +0000 (UTC)
commit 40da42980ccc56e7fd8c5534727b97249e229bc8
Author: Lars Uebernickel <lars uebernickel canonical com>
Date: Fri Aug 17 11:21:12 2012 +0200
gtkactionhelper: don't read action-role from the widget
gtk/gtkactionhelper.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkactionhelper.c b/gtk/gtkactionhelper.c
index f03f2f7..c168ee9 100644
--- a/gtk/gtkactionhelper.c
+++ b/gtk/gtkactionhelper.c
@@ -387,10 +387,6 @@ gtk_action_helper_new (GtkActionable *widget)
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (helper->widget), "active");
if (pspec && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_BOOLEAN)
g_object_get (G_OBJECT (helper->widget), "active", &helper->active, NULL);
-
- pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (helper->widget), "action-role");
- if (pspec && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_UINT)
- g_object_get (G_OBJECT (helper->widget), "action-role", &helper->role, NULL);
}
helper->action_context = _gtk_widget_get_action_muxer (GTK_WIDGET (widget));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]