aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/test-check.c2
-rw-r--r--widgets/table/test-cols.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index be2f3e9a0c..4a53fcbf2d 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,5 +1,11 @@
2008-06-03 Kjartan Maraas <kmaraas@gnome.org>
+ * test-check.c: (check_test):
+ * test-cols.c: (multi_cols_test):
+ gdk_pixbuf_unref() -> g_object_unref()
+
+2008-06-03 Kjartan Maraas <kmaraas@gnome.org>
+
* e-cell-combo.c: (e_cell_combo_init):
gtk_window_set_policy -> gtk_window_set_resizable
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);
}