diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 13:10:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 13:10:42 +0800 |
commit | d48348f3404f71dddfacfd348f035479d308dede (patch) | |
tree | 631e2e89b2219027735c10f9723f76ab6bd3e265 /plugins | |
parent | 11f85495a9fb083e40ccc47c4ec533dbe6dea9e7 (diff) | |
download | gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.gz gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.zst gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/face/face.c | 6 | ||||
-rw-r--r-- | plugins/prefer-plain/prefer-plain.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/face/face.c b/plugins/face/face.c index 19856b3e58..67c37f7cd0 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -96,7 +96,7 @@ set_face_raw (gchar *content, gsize length) if (content) { gchar *file_contents; - + file_contents = g_base64_encode ((guchar *) content, length); g_file_set_contents (filename, file_contents, -1, NULL); g_free (file_contents); @@ -132,7 +132,7 @@ get_active_face (void) } g_free (face); - + loader = gdk_pixbuf_loader_new (); if (gdk_pixbuf_loader_write (loader, data, data_len, NULL) @@ -259,7 +259,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data) preview = GTK_WIDGET (data); filename = gtk_file_chooser_get_preview_filename (file_chooser); - + have_preview = filename && prepare_image (filename, &file_contents, &length, &pixbuf, FALSE); if (have_preview) { g_free (file_contents); diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c index 6366e26831..39e8d66b58 100644 --- a/plugins/prefer-plain/prefer-plain.c +++ b/plugins/prefer-plain/prefer-plain.c @@ -258,12 +258,12 @@ org_gnome_prefer_plain_config_mode(struct _EPlugin *epl, struct _EConfigHookItem info = gtk_label_new (NULL); gtk_misc_set_alignment (GTK_MISC (info), 0.0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (info), TRUE); - + gtk_widget_show (info); update_info_label (info, epp_mode); g_signal_connect (dropdown, "changed", G_CALLBACK(epp_mode_changed), info); - + i = ((GtkTable *)data->parent)->nrows; gtk_table_attach((GtkTable *)data->parent, w, 0, 1, i, i+1, 0, 0, 0, 0); gtk_table_attach((GtkTable *)data->parent, (GtkWidget *)dropdown, 1, 2, i, i+1, GTK_FILL|GTK_EXPAND, 0, 0, 0); |