From 66bcc503dd1b940250d4a4103c99839e386783f7 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 3 Jun 2008 19:17:46 +0000 Subject: gdk_pixbuf_unref() -> g_object_unref() 2008-06-03 Kjartan Maraas * test-check.c: (check_test): * test-cols.c: (multi_cols_test): gdk_pixbuf_unref() -> g_object_unref() svn path=/trunk/; revision=35587 --- widgets/table/ChangeLog | 6 ++++++ widgets/table/test-check.c | 2 +- widgets/table/test-cols.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index be2f3e9a0c..4a53fcbf2d 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,9 @@ +2008-06-03 Kjartan Maraas + + * test-check.c: (check_test): + * test-cols.c: (multi_cols_test): + gdk_pixbuf_unref() -> g_object_unref() + 2008-06-03 Kjartan Maraas * e-cell-combo.c: (e_cell_combo_init): diff --git a/widgets/table/test-check.c b/widgets/table/test-check.c index 89f2af1ec2..64080ab12f 100644 --- a/widgets/table/test-check.c +++ b/widgets/table/test-check.c @@ -184,7 +184,7 @@ check_test (void) cell_image_check = e_cell_checkbox_new (); pixbuf = gdk_pixbuf_new_from_file ("clip.png"); col_0 = e_table_col_new_with_pixbuf (0, pixbuf, 0.0, 18, cell_image_check, e_int_compare, TRUE); - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); e_table_header_add_column (e_table_header, col_0, 0); col_1 = e_table_col_new (1, "Item Name", 1.0, 20, cell_left_just, e_str_compare, TRUE); diff --git a/widgets/table/test-cols.c b/widgets/table/test-cols.c index b1dd6c4e6d..34e5bd49a8 100644 --- a/widgets/table/test-cols.c +++ b/widgets/table/test-cols.c @@ -191,7 +191,7 @@ multi_cols_test (void) cell_image_toggle = e_cell_toggle_new (0, 3, images); for (i = 0; i < 3; i++) - gdk_pixbuf_unref (images [i]); + g_object_unref (images [i]); g_free (images); } -- cgit v1.2.3