Commit 092f855f authored by Sven Neumann's avatar Sven Neumann
Browse files

fixed a compiler warning

parent ef679e5d
......@@ -142,7 +142,7 @@ preferences_dialog_create (Gimp *gimp)
prefs_dialog = prefs_dialog_new (gimp, config_copy);
g_object_add_weak_pointer (G_OBJECT (prefs_dialog),
&prefs_dialog);
(gpointer *) &prefs_dialog);
g_object_weak_ref (G_OBJECT (prefs_dialog),
(GWeakNotify) g_object_unref,
......
......@@ -142,7 +142,7 @@ preferences_dialog_create (Gimp *gimp)
prefs_dialog = prefs_dialog_new (gimp, config_copy);
g_object_add_weak_pointer (G_OBJECT (prefs_dialog),
&prefs_dialog);
(gpointer *) &prefs_dialog);
g_object_weak_ref (G_OBJECT (prefs_dialog),
(GWeakNotify) g_object_unref,
......
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