Also intern static strings passed to g_object_set_data()

This commit is contained in:
Matthias Clasen
2005-08-31 17:58:55 +00:00
parent c09cc89317
commit f4bbe8f0de
50 changed files with 145 additions and 133 deletions

View File

@ -225,7 +225,7 @@ gtk_socket_init (GtkSocket *socket)
socket->active = FALSE;
socket->accel_group = gtk_accel_group_new ();
g_object_set_data (G_OBJECT (socket->accel_group), "gtk-socket", socket);
g_object_set_data (G_OBJECT (socket->accel_group), g_intern_static_string ("gtk-socket"), socket);
}
/**