Commit 6f5687c1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use g_quark_from_static_string here.

2005-08-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
	g_quark_from_static_string here.
parent fb382a2b
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
g_quark_from_static_string here.
2005-08-08 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
......
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
g_quark_from_static_string here.
2005-08-08 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
......
2005-08-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
g_quark_from_static_string here.
2005-08-08 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
......
......@@ -56,7 +56,7 @@ static GSList *
get_size_groups (GtkWidget *widget)
{
if (!size_groups_quark)
size_groups_quark = g_quark_from_string (size_groups_tag);
size_groups_quark = g_quark_from_static_string (size_groups_tag);
return g_object_get_qdata (G_OBJECT (widget), size_groups_quark);
}
......@@ -66,7 +66,7 @@ set_size_groups (GtkWidget *widget,
GSList *groups)
{
if (!size_groups_quark)
size_groups_quark = g_quark_from_string (size_groups_tag);
size_groups_quark = g_quark_from_static_string (size_groups_tag);
g_object_set_qdata (G_OBJECT (widget), size_groups_quark, groups);
}
......
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