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.
This commit is contained in:
Matthias Clasen 2005-08-09 04:49:36 +00:00 committed by Matthias Clasen
parent fb382a2bd0
commit 6f5687c1e3
4 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -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);
}