summaryrefslogtreecommitdiff
path: root/src/tools/metacity-mag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/metacity-mag.c')
-rw-r--r--src/tools/metacity-mag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/metacity-mag.c b/src/tools/metacity-mag.c
index 55da73c..a5f1b1b 100644
--- a/src/tools/metacity-mag.c
+++ b/src/tools/metacity-mag.c
@@ -132,7 +132,8 @@ grab_area_at_mouse (GtkWidget *invisible,
gtk_container_add (GTK_CONTAINER (display_window), widget);
g_object_unref (G_OBJECT (magnified));
- g_object_add_weak_pointer (G_OBJECT (display_window), (void**) &display_window);
+ g_object_add_weak_pointer (G_OBJECT (display_window),
+ (gpointer) &display_window);
g_signal_connect (G_OBJECT (display_window), "destroy",
G_CALLBACK (gtk_main_quit), NULL);