summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1997-12-18 02:17:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>1997-12-18 02:17:14 +0000
commitd5d01a5af9aaa11762d7ba86760796df00af3786 (patch)
treec12bb7c7980b3177456cab8987755a976297b205 /gtk/gtkcurve.c
parent65e63db01e93820093c2eb5169d5f8c0be3fe4e5 (diff)
downloadgtk+-d5d01a5af9aaa11762d7ba86760796df00af3786.tar.gz
It's all in the changelog. Well, almost all.
-owt
Diffstat (limited to 'gtk/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index d2b6e08c84..93efd10150 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -296,7 +296,7 @@ gtk_curve_graph_events (GtkWidget *widget, GdkEvent *event, GtkCurve *c)
{
case GDK_CONFIGURE:
if (c->pixmap)
- gdk_pixmap_destroy (c->pixmap);
+ gdk_pixmap_unref (c->pixmap);
c->pixmap = 0;
/* fall through */
case GDK_EXPOSE:
@@ -849,7 +849,7 @@ gtk_curve_destroy (GtkObject *object)
curve = GTK_CURVE (object);
if (curve->pixmap)
- gdk_pixmap_destroy (curve->pixmap);
+ gdk_pixmap_unref (curve->pixmap);
if (curve->point)
g_free (curve->point);
if (curve->ctlpoint)