diff options
-rw-r--r-- | widgets/table/e-table-example-2.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-extras.c | 2 | ||||
-rw-r--r-- | widgets/table/test-check.c | 2 | ||||
-rw-r--r-- | widgets/table/test-cols.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-table-example-2.c b/widgets/table/e-table-example-2.c index e428f6e54e..a442ee2546 100644 --- a/widgets/table/e-table-example-2.c +++ b/widgets/table/e-table-example-2.c @@ -305,7 +305,7 @@ create_table () cell_checkbox = e_cell_checkbox_new (); pixbuf = gdk_pixbuf_new_from_file ("clip.png"); - ecol = e_table_col_new_with_pixbuf (i, pixbuf, 0.0, 18, cell_checkbox, g_int_compare, TRUE); + ecol = e_table_col_new_with_pixbuf (i, pixbuf, 0.0, 18, cell_checkbox, e_int_compare, TRUE); e_table_header_add_column (e_table_header, ecol, i); /* diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index 74bdc26233..e9c2075508 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -108,7 +108,7 @@ e_strint_compare(gconstpointer data1, gconstpointer data2) int int1 = atoi(data1); int int2 = atoi(data2); - return g_int_compare(GINT_TO_POINTER(int1), GINT_TO_POINTER(int2)); + return e_int_compare(GINT_TO_POINTER(int1), GINT_TO_POINTER(int2)); } /* UTF-8 strncasecmp - not optimized */ diff --git a/widgets/table/test-check.c b/widgets/table/test-check.c index 5de9e77a6c..4ef25af042 100644 --- a/widgets/table/test-check.c +++ b/widgets/table/test-check.c @@ -183,7 +183,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, g_int_compare, TRUE); + col_0 = e_table_col_new_with_pixbuf (0, pixbuf, 0.0, 18, cell_image_check, e_int_compare, TRUE); gdk_pixbuf_unref (pixbuf); e_table_header_add_column (e_table_header, col_0, 0); diff --git a/widgets/table/test-cols.c b/widgets/table/test-cols.c index e64ba3826f..3c5a50107a 100644 --- a/widgets/table/test-cols.c +++ b/widgets/table/test-cols.c @@ -199,7 +199,7 @@ multi_cols_test (void) col_1 = e_table_col_new (1, "Item Name", 1.0, 20, cell_left_just, e_str_compare, TRUE); e_table_header_add_column (e_table_header, col_1, 0); - col_0 = e_table_col_new (0, "A", 0.0, 48, cell_image_toggle, g_int_compare, TRUE); + col_0 = e_table_col_new (0, "A", 0.0, 48, cell_image_toggle, e_int_compare, TRUE); e_table_header_add_column (e_table_header, col_0, 1); /* |