Commit 887beedb authored by Alberto Fanjul Alonso's avatar Alberto Fanjul Alonso Committed by Guido Gunther

glade: Adapt to Glade 3.36 API changes

Fixes #267.
parent f3fe15a4
......@@ -250,7 +250,7 @@ set_use_custom_title (GObject *object,
list = glade_placeholder_packing_actions (GLADE_PLACEHOLDER (child));
for (l = list; l; l = l->next) {
GladeWidgetAction *gwa = l->data;
if (!strcmp (glade_widget_action_get_class (gwa)->id, "remove_slot"))
if (!strcmp (glade_widget_action_get_def (gwa)->id, "remove_slot"))
glade_widget_action_set_visible (gwa, FALSE);
}
}
......
......@@ -43,7 +43,7 @@ glade_hdy_header_group_read_widgets (GladeWidget *widget, GladeXmlNode *node)
string = widget_name;
} else if (widget_name != NULL) {
tmp =
g_strdup_printf ("%s%s%s", string, GPC_OBJECT_DELIMITER,
g_strdup_printf ("%s%s%s", string, GLADE_PROPERTY_DEF_OBJECT_DELIMITER,
widget_name);
string = (g_free (string), tmp);
g_free (widget_name);
......
......@@ -45,7 +45,7 @@ glade_hdy_swipe_group_read_widgets (GladeWidget *widget,
string = widget_name;
} else if (widget_name != NULL) {
tmp =
g_strdup_printf ("%s%s%s", string, GPC_OBJECT_DELIMITER,
g_strdup_printf ("%s%s%s", string, GLADE_PROPERTY_DEF_OBJECT_DELIMITER,
widget_name);
string = (g_free (string), tmp);
g_free (widget_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment