From d48348f3404f71dddfacfd348f035479d308dede Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 24 Oct 2009 01:10:42 -0400 Subject: Coding style and whitespace cleanups. --- plugins/face/face.c | 6 +++--- plugins/prefer-plain/prefer-plain.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') 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); -- cgit v1.2.3