aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-27 19:28:14 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-27 19:28:14 +0800
commitc8d411ce2bc362cc76ad6d820e7397b3e8a01c3d (patch)
treec38e2d6abe33e2ea0564e36bc150897fc3fbb8fb /widgets/table
parentb835359be0b9d33022dee7c815ebde9194eee2cf (diff)
downloadgsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.gz
gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.zst
gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.zip
Don't mix declarations and code (#405495).
2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/e-cell-checkbox.c3
-rw-r--r--widgets/table/e-table-header-item.c2
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;