diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-16 23:25:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-09-04 19:34:32 +0800 |
commit | fcbbdfbd18e15b4ee8322a0217cf03a689a5e033 (patch) | |
tree | e16cd2a2279558c6a2bfb6ca39fcbaac4c85ba59 /plugins/face | |
parent | f78417c48861759d7b0c4535ecd3febe4638a7d3 (diff) | |
download | gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.gz gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.zst gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/face')
-rw-r--r-- | plugins/face/face.c | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/plugins/face/face.c b/plugins/face/face.c index 8f50f16d68..df9eafcd5a 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -90,7 +90,8 @@ get_face_base64 (void) } static void -set_face_raw (gchar *content, gsize length) +set_face_raw (gchar *content, + gsize length) { gchar *filename = get_filename (); @@ -150,7 +151,11 @@ get_active_face (void) } static gboolean -prepare_image (const gchar *image_filename, gchar **file_contents, gsize *length, GdkPixbuf **use_pixbuf, gboolean can_claim) +prepare_image (const gchar *image_filename, + gchar **file_contents, + gsize *length, + GdkPixbuf **use_pixbuf, + gboolean can_claim) { gboolean res = FALSE; @@ -249,7 +254,8 @@ prepare_image (const gchar *image_filename, gchar **file_contents, gsize *length } static void -update_preview_cb (GtkFileChooser *file_chooser, gpointer data) +update_preview_cb (GtkFileChooser *file_chooser, + gpointer data) { GtkWidget *preview; gchar *filename, *file_contents = NULL; @@ -322,7 +328,8 @@ choose_new_face (void) } static void -toggled_check_include_by_default_cb (GtkWidget *widget, gpointer data) +toggled_check_include_by_default_cb (GtkWidget *widget, + gpointer data) { set_include_face_by_default (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget))); } @@ -373,7 +380,8 @@ get_cfg_widget (void) } static void -action_toggle_face_cb (GtkToggleAction *action, EMsgComposer *composer) +action_toggle_face_cb (GtkToggleAction *action, + EMsgComposer *composer) { if (gtk_toggle_action_get_active (action)) { gchar *face = get_face_base64 (); @@ -403,14 +411,15 @@ void face_handle_send (EPlugin *ep, EMEventTargetComposer *target); /* ----------------------------------------------------------------- */ gint -e_plugin_lib_enable (EPlugin *ep, gint enable) +e_plugin_lib_enable (EPlugin *ep, + gint enable) { return 0; } gboolean e_plugin_ui_init (GtkUIManager *ui_manager, - EMsgComposer *composer) + EMsgComposer *composer) { GtkhtmlEditor *editor; @@ -450,7 +459,8 @@ e_plugin_lib_get_configure_widget (EPlugin *epl) } void -face_handle_send (EPlugin *ep, EMEventTargetComposer *target) +face_handle_send (EPlugin *ep, + EMEventTargetComposer *target) { GtkhtmlEditor *editor; GtkAction *action; |