aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
commitc30d29425eccafea02e95ea6e81679508c878784 (patch)
tree43881a8ae0b03d55cc6facac3b4e6375524c7c4c /e-util
parent6c7520b73d1360504672804ebeba6c4de18de318 (diff)
downloadgsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.gz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.bz2
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.lz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.xz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.zst
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-alert-dialog.c8
-rw-r--r--e-util/gconf-bridge.c3
2 files changed, 8 insertions, 3 deletions
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c
index 4dc34174a1..a44f86e8bf 100644
--- a/e-util/e-alert-dialog.c
+++ b/e-util/e-alert-dialog.c
@@ -215,7 +215,9 @@ e_alert_dialog_constructed (GObject *obj)
if (e_alert_get_scroll (alert)) {
scroll = gtk_scrolled_window_new (NULL, NULL);
- gtk_scrolled_window_set_policy ((GtkScrolledWindow *)scroll, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_policy (
+ GTK_SCROLLED_WINDOW (scroll),
+ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
}
w = gtk_label_new(NULL);
gtk_label_set_selectable((GtkLabel *)w, TRUE);
@@ -270,7 +272,9 @@ e_alert_dialog_class_init (EAlertDialogClass *klass)
GtkWidget*
e_alert_dialog_new (GtkWindow *parent, EAlert *alert)
{
- return (GtkWidget*) g_object_new (E_TYPE_ALERT_DIALOG, "parent", parent, "alert", alert, NULL);
+ return g_object_new (
+ E_TYPE_ALERT_DIALOG,
+ "parent", parent, "alert", alert, NULL);
}
GtkWidget*
diff --git a/e-util/gconf-bridge.c b/e-util/gconf-bridge.c
index d224b9d572..e5d5a1998e 100644
--- a/e-util/gconf-bridge.c
+++ b/e-util/gconf-bridge.c
@@ -53,7 +53,8 @@ typedef struct {
that have not received change notification
yet. */
- GConfValue *use_first_value; /* Not NULL when the object is a Widget and wasn't realized */
+ GConfValue *use_first_value; /* Not NULL when the object is a
+ Widget and wasn't realized. */
GObject *object;
GParamSpec *prop;