diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/table/e-cell-checkbox.c | 3 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index ee35f6e2e7..9601d05e64 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,5 +1,11 @@ 2007-03-20 Matthew Barnes <mbarnes@redhat.com> + * e-cell-checkbox.c: + * e-table-header-item.c: + Don't mix declarations and code (#405495). + +2007-03-20 Matthew Barnes <mbarnes@redhat.com> + ** Fixes part of bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. diff --git a/widgets/table/e-cell-checkbox.c b/widgets/table/e-cell-checkbox.c index 33135b5b71..8f3c8083fe 100644 --- a/widgets/table/e-cell-checkbox.c +++ b/widgets/table/e-cell-checkbox.c @@ -43,8 +43,7 @@ ecc_print (ECellView *ecell_view, GtkPrintContext *context, int model_col, int view_col, int row, double width, double height) { - cairo_t *cr; - cr = gtk_print_context_get_cairo_context (context); + cairo_t *cr = gtk_print_context_get_cairo_context (context); const int value = GPOINTER_TO_INT ( e_table_model_value_at (ecell_view->e_table_model, model_col, row)); cairo_save (cr); diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 15890b17b7..707d2baaa4 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1514,7 +1514,7 @@ ethi_header_context_menu (ETableHeaderItem *ethi, GdkEventButton *event) { EthiHeaderInfo *info = g_new(EthiHeaderInfo, 1); ETableCol *col; - GtkMenu *popup, *sub_menu;; + GtkMenu *popup, *sub_menu; int ncol, sort_count, sort_col; GtkWidget *menu_item; GSList *group = NULL; |