aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/anjal-settings-main.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-07 04:08:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-07 08:09:08 +0800
commitffc019e36fd4703e5342030ca6779032d91c7611 (patch)
tree511ec7fb99746b600e2c176511d8e056831371bf /capplet/anjal-settings-main.c
parent3fc28cd410369d299f080e44a71797f00c522eec (diff)
downloadgsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar.gz
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar.bz2
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar.lz
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar.xz
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.tar.zst
gsoc2013-evolution-ffc019e36fd4703e5342030ca6779032d91c7611.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'capplet/anjal-settings-main.c')
-rw-r--r--capplet/anjal-settings-main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index aa090e36fd..e789f91965 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -56,7 +56,7 @@ gboolean windowed = FALSE;
gboolean anjal_icon_decoration = FALSE;
gboolean default_app = FALSE;
guint32 socket_id = 0;
-MailCappletShell *main_window;
+GtkWidget *main_window;
static gchar **remaining_args;
extern gchar *shell_moduledir;
@@ -164,7 +164,7 @@ create_default_shell (void)
{
main_window = mail_capplet_shell_new(socket_id, FALSE, TRUE);
if (!socket_id)
- gtk_widget_show (GTK_WIDGET (main_window));
+ gtk_widget_show (main_window);
g_idle_add ((GSourceFunc) idle_cb, remaining_args);
}
@@ -254,8 +254,9 @@ main (gint argc, gchar *argv[])
create_default_shell ();
- g_signal_connect (UNIQUE_APP(app), "message-received",
- G_CALLBACK (mail_message_received_cb), main_window);
+ g_signal_connect (
+ UNIQUE_APP(app), "message-received",
+ G_CALLBACK (mail_message_received_cb), main_window);
if (windowed)
anjal_icon_decoration = TRUE;