summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgamma.c')
-rw-r--r--gtk/gtkgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index 1d7abc6fba..977aabe67f 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -252,8 +252,8 @@ button_realize_callback (GtkWidget *w)
gtk_container_add (GTK_CONTAINER (w), pixmap);
gtk_widget_show (pixmap);
- gdk_pixmap_destroy (pm);
- gdk_pixmap_destroy (mask); /* a bitmap is really just a special pixmap */
+ gdk_pixmap_unref (pm);
+ gdk_bitmap_unref (mask); /* a bitmap is really just a special pixmap */
}
static void