forked from AuroraMiddleware/gtk
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:
parent
fb382a2bd0
commit
6f5687c1e3
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user