[glade] Replaced non existent function glade_widget_remove_action() with glade_widget_set_action_visible()
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Replaced non existent function glade_widget_remove_action() with glade_widget_set_action_visible()
- Date: Tue, 2 Apr 2013 19:15:44 +0000 (UTC)
commit 178e630d6dc9487f89c115cfa849a16414d550c9
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Mon Apr 1 18:52:59 2013 -0300
Replaced non existent function glade_widget_remove_action() with
glade_widget_set_action_visible()
plugins/gtk+/glade-gtk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 05869a4..ed4ac58 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -802,7 +802,7 @@ glade_gtk_widget_deep_post_create (GladeWidgetAdaptor * adaptor,
G_CALLBACK (widget_parent_changed), adaptor);
if (!glade_widget_adaptor_get_book (adaptor) || !glade_util_have_devhelp ())
- glade_widget_remove_action (gwidget, "read_documentation");
+ glade_widget_set_action_visible (gwidget, "read_documentation", FALSE);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]