[gtk+] widget: Use g_param_spec_get_name_quark
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Use g_param_spec_get_name_quark
- Date: Tue, 8 Sep 2015 12:08:31 +0000 (UTC)
commit 64573ea9791ac2cf4f107b2461ab04dd47e0ab77
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 7 21:58:34 2015 -0400
widget: Use g_param_spec_get_name_quark
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 3d3b3be..ded3d4e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4385,7 +4385,7 @@ gtk_widget_dispatch_child_properties_changed (GtkWidget *widget,
guint i;
for (i = 0; widget->priv->parent == container && i < n_pspecs; i++)
- g_signal_emit (widget, widget_signals[CHILD_NOTIFY], g_quark_from_string (pspecs[i]->name), pspecs[i]);
+ g_signal_emit (widget, widget_signals[CHILD_NOTIFY], g_param_spec_get_name_quark (pspecs[i]), pspecs[i]);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]