Free dash list if necessary.
2002-01-03 Anders Carlsson <andersca@gnu.org> * gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if necessary. * gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list. * gtk/gtkcolorsel.c (get_focus_gc): Free dash list. * gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask if it's NULL.
This commit is contained in:
committed by
Anders Carlsson
parent
88edb0e58e
commit
a11baab148
@ -2169,7 +2169,9 @@ set_icon_stock_pixbuf (GdkDragContext *context,
|
||||
gtk_widget_shape_combine_mask (window, mask, 0, 0);
|
||||
|
||||
g_object_unref (G_OBJECT (pixmap));
|
||||
g_object_unref (G_OBJECT (mask));
|
||||
|
||||
if (mask)
|
||||
g_object_unref (G_OBJECT (mask));
|
||||
|
||||
gtk_drag_set_icon_window (context, window, hot_x, hot_y, TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user