forked from AuroraMiddleware/gtk
Don't leak text.
2005-12-07 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/iconview_edit.c (set_cell_color): Don't leak text.
This commit is contained in:
parent
85fda2788d
commit
e75323a558
@ -1,5 +1,8 @@
|
||||
2005-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
|
||||
leak text.
|
||||
|
||||
* gtk/gtktoolbutton.c (clone_image_menu_size): Fix a
|
||||
variable name clash. (#323475, Ross Burton)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
|
||||
leak text.
|
||||
|
||||
* gtk/gtktoolbutton.c (clone_image_menu_size): Fix a
|
||||
variable name clash. (#323475, Ross Burton)
|
||||
|
||||
|
@ -64,6 +64,8 @@ set_cell_color (GtkCellLayout *cell_layout,
|
||||
(color.green >> 8) << 16 |
|
||||
(color.blue >> 8) << 8;
|
||||
|
||||
g_free (text);
|
||||
|
||||
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 24, 24);
|
||||
gdk_pixbuf_fill (pixbuf, pixel);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user