diff --git a/ChangeLog b/ChangeLog index 516c9856bc..ae249425f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-11-08 Matthias Clasen + * gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when + finalizing a gc. (#320789, Nickolay V. Shmyrev) + * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore icons if they would make the request large enough to cause Xlib to loose the connection. (#320909, Claudio Saavedra) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 516c9856bc..ae249425f8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-11-08 Matthias Clasen + * gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when + finalizing a gc. (#320789, Nickolay V. Shmyrev) + * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore icons if they would make the request large enough to cause Xlib to loose the connection. (#320909, Claudio Saavedra) diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c index 6a6f12047d..cf2a01da2c 100644 --- a/gdk/gdkgc.c +++ b/gdk/gdkgc.c @@ -188,6 +188,10 @@ gdk_gc_finalize (GObject *object) gdk_region_destroy (priv->clip_region); if (gc->colormap) g_object_unref (gc->colormap); + if (priv->tile) + g_object_unref (priv->tile); + if (priv->stipple) + g_object_unref (priv->stipple); G_OBJECT_CLASS (gdk_gc_parent_class)->finalize (object); }