[glade] GladeGtkBox: adapted to new glade_gtk_box_notebook_child_insert_remove_action() api
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeGtkBox: adapted to new glade_gtk_box_notebook_child_insert_remove_action() api
- Date: Fri, 20 May 2016 20:27:29 +0000 (UTC)
commit 791970cd08aa97efac107b899f3bdde776b5910b
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Fri May 20 17:04:09 2016 -0300
GladeGtkBox: adapted to new glade_gtk_box_notebook_child_insert_remove_action() api
plugins/gtk+/glade-gtk-box.c | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-box.c b/plugins/gtk+/glade-gtk-box.c
index e2bb222..7074b54 100644
--- a/plugins/gtk+/glade-gtk-box.c
+++ b/plugins/gtk+/glade-gtk-box.c
@@ -602,31 +602,25 @@ glade_gtk_box_replace_child (GladeWidgetAdaptor * adaptor,
}
void
-glade_gtk_box_child_action_activate (GladeWidgetAdaptor * adaptor,
- GObject * container,
- GObject * object,
- const gchar * action_path)
+glade_gtk_box_child_action_activate (GladeWidgetAdaptor *adaptor,
+ GObject *container,
+ GObject *object,
+ const gchar *action_path)
{
if (strcmp (action_path, "insert_after") == 0)
{
glade_gtk_box_notebook_child_insert_remove_action (adaptor, container,
- object, "size",
- FALSE, TRUE,
- FALSE, TRUE);
+ object, FALSE, TRUE);
}
else if (strcmp (action_path, "insert_before") == 0)
{
glade_gtk_box_notebook_child_insert_remove_action (adaptor, container,
- object, "size",
- FALSE, TRUE,
- FALSE, FALSE);
+ object, FALSE, FALSE);
}
else if (strcmp (action_path, "remove_slot") == 0)
{
glade_gtk_box_notebook_child_insert_remove_action (adaptor, container,
- object, "size",
- FALSE, FALSE,
- TRUE, FALSE);
+ object, TRUE, FALSE);
}
else
GWA_GET_CLASS (GTK_TYPE_CONTAINER)->child_action_activate (adaptor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]