diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2019-06-07 15:54:22 +0200 |
---|---|---|
committer | Alberto Fanjul <albertofanjul@gmail.com> | 2019-06-09 19:23:57 +0200 |
commit | 3235d479f4f26476958b6686f410ab18d6c3f260 (patch) | |
tree | 9dd3ab83035150be6344e7f3d6a09b084a4e9e91 /plugins | |
parent | b115fcb95d2753a3fe60b26142751671ce91ccd4 (diff) |
GladeSignalClass: rename glade_signal_class_get_type
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtk+/glade-accels.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/gtk+/glade-accels.c b/plugins/gtk+/glade-accels.c index ea8f391f..989c1ff8 100644 --- a/plugins/gtk+/glade-accels.c +++ b/plugins/gtk+/glade-accels.c @@ -228,7 +228,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS if (glade_widget_adaptor_get_object_type (adaptor) == type_action || g_type_is_a (glade_widget_adaptor_get_object_type (adaptor), type_action)) { - if (g_strcmp0 (glade_signal_class_get_type (sclass), "GtkAction") != 0 || + if (g_strcmp0 (glade_signal_class_get_object_type_name (sclass), "GtkAction") != 0 || g_strcmp0 (glade_signal_class_get_name (sclass), "activate") != 0) continue; } @@ -237,17 +237,17 @@ G_GNUC_END_IGNORE_DEPRECATIONS continue; if (g_list_find_custom (eprop_accel->parent_iters, - glade_signal_class_get_type (sclass), + glade_signal_class_get_object_type_name (sclass), (GCompareFunc) eprop_find_iter) == NULL) { gtk_tree_store_append (model, &iter, NULL); gtk_tree_store_set (model, &iter, - ACCEL_COLUMN_SIGNAL, glade_signal_class_get_type (sclass), + ACCEL_COLUMN_SIGNAL, glade_signal_class_get_object_type_name (sclass), ACCEL_COLUMN_WEIGHT, PANGO_WEIGHT_BOLD, ACCEL_COLUMN_VISIBLE, FALSE, -1); parent_tab = g_new0 (GladeEpropIterTab, 1); - parent_tab->name = glade_signal_class_get_type (sclass); + parent_tab->name = glade_signal_class_get_object_type_name (sclass); parent_tab->iter = gtk_tree_iter_copy (&iter); eprop_accel->parent_iters = @@ -265,7 +265,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS if (glade_widget_adaptor_get_object_type (adaptor) == type_action || g_type_is_a (glade_widget_adaptor_get_object_type (adaptor), type_action)) { - if (g_strcmp0 (glade_signal_class_get_type (sclass), "GtkAction") != 0 || + if (g_strcmp0 (glade_signal_class_get_object_type_name (sclass), "GtkAction") != 0 || g_strcmp0 (glade_signal_class_get_name (sclass), "activate") != 0) continue; } @@ -274,7 +274,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS continue; if ((found = g_list_find_custom (eprop_accel->parent_iters, - glade_signal_class_get_type (sclass), + glade_signal_class_get_object_type_name (sclass), (GCompareFunc) eprop_find_iter)) != NULL) { parent_tab = found->data; |