diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-03-27 19:28:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-03-27 19:28:14 +0800 |
commit | c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d (patch) | |
tree | c38e2d6abe33e2ea0564e36bc150897fc3fbb8fb /widgets/misc | |
parent | b835359be0b9d33022dee7c815ebde9194eee2cf (diff) | |
download | gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.gz gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.bz2 gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.lz gsoc2013-evolution-c8d411ce2bc362cc76ad6d820e7397b3e8a01c3d.tar.xz 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/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/misc/e-filter-bar.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-multi-config-dialog.c | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index b63c41fac9..ce2c894193 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-27 Matthew Barnes <mbarnes@redhat.com> + + * e-filter-bar.c: + * e-multi-config-dialog.c: + Don't mix declarations and code (#405495). + 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #419524 diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c index 1e15a8b539..f755ac8dba 100644 --- a/widgets/misc/e-filter-bar.c +++ b/widgets/misc/e-filter-bar.c @@ -269,6 +269,7 @@ menubar_activated (ESearchBar *esb, int id, void *data) if (id >= efb->menu_base && id < efb->menu_base + efb->menu_rules->len) { #if d(!)0 GString *out = g_string_new (""); + GtkStyle *style; printf("Selected rule: %s\n", ((FilterRule *)efb->menu_rules->pdata[id - efb->menu_base])->name); filter_rule_build_code (efb->menu_rules->pdata[id - efb->menu_base], out); @@ -282,7 +283,7 @@ menubar_activated (ESearchBar *esb, int id, void *data) efb->setquery = FALSE; /* saved searches activated */ - GtkStyle *style = gtk_widget_get_default_style (); + style = gtk_widget_get_default_style (); efb->setquery = TRUE; gtk_widget_modify_base (esb->entry , GTK_STATE_NORMAL, &(style->base[GTK_STATE_SELECTED] )); gtk_widget_modify_text (esb->entry, GTK_STATE_NORMAL, &(style->text [GTK_STATE_SELECTED] )); diff --git a/widgets/misc/e-multi-config-dialog.c b/widgets/misc/e-multi-config-dialog.c index 60f9256705..fef0a507a9 100644 --- a/widgets/misc/e-multi-config-dialog.c +++ b/widgets/misc/e-multi-config-dialog.c @@ -389,6 +389,7 @@ e_multi_config_dialog_add_page (EMultiConfigDialog *dialog, { EMultiConfigDialogPrivate *priv; AtkObject *a11y; + AtkObject *a11yPage; gint page_no; g_return_if_fail (E_IS_MULTI_CONFIG_DIALOG (dialog)); @@ -411,7 +412,7 @@ e_multi_config_dialog_add_page (EMultiConfigDialog *dialog, NULL); a11y = gtk_widget_get_accessible (GTK_WIDGET(priv->notebook)); - AtkObject *a11yPage = atk_object_ref_accessible_child (a11y, page_no); + a11yPage = atk_object_ref_accessible_child (a11y, page_no); if (a11yPage != NULL) { if (atk_object_get_role (a11yPage) == ATK_ROLE_PAGE_TAB) atk_object_set_name (a11yPage, title); |