aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:15:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-05-13 21:15:42 +0800
commit89777f0726a0127daddd593c8a28384204cb7aaf (patch)
treeecfafdadb6e7df01e185119689dfd8bddb748dde /widgets
parent26f133162d798a342fea56a79301caf0117b7d63 (diff)
downloadgsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.gz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.bz2
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.lz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.xz
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.tar.zst
gsoc2013-evolution-89777f0726a0127daddd593c8a28384204cb7aaf.zip
Whitespace cleanups.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-attachment.c4
-rw-r--r--widgets/misc/e-signature-editor.c2
-rw-r--r--widgets/misc/e-spell-entry.c30
-rw-r--r--widgets/misc/e-web-view.c7
-rw-r--r--widgets/misc/e-web-view.h1
5 files changed, 21 insertions, 23 deletions
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index 087c55f9c5..08b747f926 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -1755,8 +1755,8 @@ attachment_load_query_info_cb (GFile *file,
static void
attachment_load_from_mime_part_thread (GSimpleAsyncResult *simple,
- GObject *object,
- GCancellable *cancellable)
+ GObject *object,
+ GCancellable *cancellable)
{
LoadContext *load_context;
GFileInfo *file_info;
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index 93b2e1d0b9..ce181138ec 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -612,7 +612,7 @@ exit:
void
e_signature_editor_set_editing_old (ESignatureEditor *editor,
- gboolean editing_old)
+ gboolean editing_old)
{
g_return_if_fail (E_IS_SIGNATURE_EDITOR (editor));
diff --git a/widgets/misc/e-spell-entry.c b/widgets/misc/e-spell-entry.c
index 1f0e3c9dc4..c0912021af 100644
--- a/widgets/misc/e-spell-entry.c
+++ b/widgets/misc/e-spell-entry.c
@@ -348,7 +348,7 @@ build_suggestion_menu (ESpellEntry *entry,
GtkWidget *label = gtk_label_new (_("(no suggestions)"));
PangoAttribute *attribute;
PangoAttrList *attribute_list;
-
+
attribute_list = pango_attr_list_new ();
attribute = pango_attr_style_new (PANGO_STYLE_ITALIC);
pango_attr_list_insert (attribute_list, attribute);
@@ -492,8 +492,8 @@ build_spelling_menu (ESpellEntry *entry,
static void
spell_entry_add_suggestions_menu (ESpellEntry *entry,
- GtkMenu *menu,
- const gchar *word)
+ GtkMenu *menu,
+ const gchar *word)
{
GtkWidget *icon, *mi;
@@ -528,8 +528,8 @@ spell_entry_popup_menu (ESpellEntry *entry)
static void
spell_entry_populate_popup (ESpellEntry *entry,
- GtkMenu *menu,
- gpointer data)
+ GtkMenu *menu,
+ gpointer data)
{
gint start, end;
gchar *word;
@@ -622,7 +622,7 @@ spell_entry_load_spell_languages (void)
static void
spell_entry_settings_changed (ESpellEntry *spell_entry,
- const gchar *key)
+ const gchar *key)
{
GList *languages;
@@ -643,7 +643,7 @@ spell_entry_settings_changed (ESpellEntry *spell_entry,
static gint
spell_entry_find_position (ESpellEntry *spell_entry,
- gint x)
+ gint x)
{
PangoLayout *layout;
PangoLayoutLine *line;
@@ -652,7 +652,7 @@ spell_entry_find_position (ESpellEntry *spell_entry,
gint trailing;
const gchar *text;
GtkEntry *entry = GTK_ENTRY (spell_entry);
-
+
layout = gtk_entry_get_layout (entry);
text = pango_layout_get_text (layout);
@@ -667,7 +667,7 @@ spell_entry_find_position (ESpellEntry *spell_entry,
static gboolean
e_spell_entry_draw (GtkWidget *widget,
- cairo_t *cr)
+ cairo_t *cr)
{
ESpellEntry *spell_entry = E_SPELL_ENTRY (widget);
GtkEntry *entry = GTK_ENTRY (widget);
@@ -693,9 +693,9 @@ e_spell_entry_button_press (GtkWidget *widget,
static void
spell_entry_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
switch (property_id) {
case PROP_CHECKING_ENABLED:
@@ -810,7 +810,7 @@ e_spell_entry_new (void)
/* 'languages' consists of 'const GtkhtmlSpellLanguage *' */
void
e_spell_entry_set_languages (ESpellEntry *spell_entry,
- GList *languages)
+ GList *languages)
{
GList *iter;
@@ -846,7 +846,7 @@ e_spell_entry_get_checking_enabled (ESpellEntry *spell_entry)
void
e_spell_entry_set_checking_enabled (ESpellEntry *spell_entry,
- gboolean enable_checking)
+ gboolean enable_checking)
{
g_return_if_fail (spell_entry != NULL);
@@ -857,5 +857,5 @@ e_spell_entry_set_checking_enabled (ESpellEntry *spell_entry,
spell_entry_recheck_all (spell_entry);
g_object_notify (G_OBJECT (spell_entry), "checking-enabled");
-
+
}
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index e9288cd9b7..f58b5d44de 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -2843,7 +2843,7 @@ e_web_view_get_default_settings (void)
}
void
-e_web_view_update_fonts(EWebView *web_view)
+e_web_view_update_fonts (EWebView *web_view)
{
GString *stylesheet;
gchar *base64;
@@ -2942,7 +2942,7 @@ e_web_view_update_fonts(EWebView *web_view)
gtk_style_context_get_style (context,
"link-color", &link,
"visited-link-color", &visited,
- NULL);
+ NULL);
if (!link) {
link = g_new0 (GdkColor, 1);
@@ -2970,7 +2970,6 @@ e_web_view_update_fonts(EWebView *web_view)
if (visited)
gdk_color_free (visited);
-
base64 = g_base64_encode ((guchar *) stylesheet->str, stylesheet->len);
g_string_free (stylesheet, TRUE);
@@ -2996,7 +2995,7 @@ e_web_view_update_fonts(EWebView *web_view)
void
e_web_view_install_request_handler (EWebView *web_view,
- GType handler_type)
+ GType handler_type)
{
SoupSession *session;
SoupSessionFeature *feature;
diff --git a/widgets/misc/e-web-view.h b/widgets/misc/e-web-view.h
index 5aab752b50..af6dbb1502 100644
--- a/widgets/misc/e-web-view.h
+++ b/widgets/misc/e-web-view.h
@@ -234,7 +234,6 @@ void e_web_view_install_request_handler
(EWebView *web_view,
GType handler_type);
-
G_END_DECLS
#endif /* E_WEB_VIEW_H */