aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-19 08:35:59 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:36 +0800
commit3b6c8972a51d635309b789b1aef9034ca23dc737 (patch)
tree3e2843b8f664df4c022b6cf755828a1296fd5718 /calendar
parent333ccc8abf033453996e4a7e16712f2fc3b9e05a (diff)
downloadgsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.gz
gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.zst
gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c2
-rw-r--r--calendar/gui/dialogs/comp-editor.c11
2 files changed, 9 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c
index 0169901c1f..14c30a29e7 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.c
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c
@@ -280,7 +280,7 @@ notified_alarms_dialog_new (void)
an->dismiss_btn = e_builder_get_widget (an->builder, "dismiss-button");
edit_btn = e_builder_get_widget (an->builder, "edit-button");
- if (!(an->dialog && an->treeview
+ if (!(an->dialog && an->treeview
&& an->snooze_time_min && an->snooze_time_hrs && an->snooze_time_days
&& an->description && an->location && edit_btn && snooze_btn && an->dismiss_btn)) {
g_warning ("alarm_notify_dialog(): Could not find all widgets in alarm-notify.ui file!");
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 846be18152..769263e88a 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2645,7 +2645,9 @@ comp_editor_append_widget (CompEditor *editor,
if (add) {
gtk_notebook_append_page (priv->notebook, page, label_widget);
- gtk_container_child_set (GTK_CONTAINER (priv->notebook), page, "tab-fill", FALSE, "tab-expand", FALSE, NULL);
+ gtk_container_child_set (
+ GTK_CONTAINER (priv->notebook), page,
+ "tab-fill", FALSE, "tab-expand", FALSE, NULL);
}
/* Listen for when the page is mapped/unmapped so we can
@@ -2708,8 +2710,11 @@ comp_editor_append_page (CompEditor *editor,
priv->pages = g_list_append (priv->pages, page);
if (add) {
- gtk_notebook_append_page (priv->notebook, page_widget, label_widget);
- gtk_container_child_set (GTK_CONTAINER (priv->notebook), page_widget, "tab-fill", FALSE, "tab-expand", FALSE, NULL);
+ gtk_notebook_append_page (
+ priv->notebook, page_widget, label_widget);
+ gtk_container_child_set (
+ GTK_CONTAINER (priv->notebook), page_widget,
+ "tab-fill", FALSE, "tab-expand", FALSE, NULL);
}
/* Listen for things happening on the page */