diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-24 19:43:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-25 08:31:43 +0800 |
commit | cc8bf823ec514f6ba1f59fa8d8103936fa48d070 (patch) | |
tree | 28123abc136d37a3574e1060d76188e031b5dd12 /widgets | |
parent | 728c641c164f23acf43b306d37484888d2318958 (diff) | |
download | gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.gz gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.bz2 gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.lz gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.xz gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.zst gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/menus/gal-view-instance-save-as-dialog.c | 1 | ||||
-rw-r--r-- | widgets/misc/e-canvas-vbox.c | 1 | ||||
-rw-r--r-- | widgets/misc/e-spell-entry.c | 8 | ||||
-rw-r--r-- | widgets/misc/e-web-view.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-field-chooser.c | 1 | ||||
-rw-r--r-- | widgets/table/e-table-group-container.c | 1 | ||||
-rw-r--r-- | widgets/table/e-table-group-leaf.c | 1 | ||||
-rw-r--r-- | widgets/table/e-table-header.c | 1 | ||||
-rw-r--r-- | widgets/table/e-table-sorter.c | 1 | ||||
-rw-r--r-- | widgets/text/e-reflow.c | 1 |
10 files changed, 6 insertions, 14 deletions
diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c index 414a287f45..a213082702 100644 --- a/widgets/menus/gal-view-instance-save-as-dialog.c +++ b/widgets/menus/gal-view-instance-save-as-dialog.c @@ -34,7 +34,6 @@ G_DEFINE_TYPE (GalViewInstanceSaveAsDialog, gal_view_instance_save_as_dialog, GTK_TYPE_DIALOG) -/* The arguments we take */ enum { PROP_0, PROP_INSTANCE diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c index db5ad51319..888563c0d8 100644 --- a/widgets/misc/e-canvas-vbox.c +++ b/widgets/misc/e-canvas-vbox.c @@ -49,7 +49,6 @@ static void e_canvas_vbox_real_add_item (ECanvasVbox *e_canvas_vbox, GnomeCanvas static void e_canvas_vbox_real_add_item_start (ECanvasVbox *e_canvas_vbox, GnomeCanvasItem *item); static void e_canvas_vbox_resize_children (GnomeCanvasItem *item); -/* The arguments we take */ enum { PROP_0, PROP_WIDTH, diff --git a/widgets/misc/e-spell-entry.c b/widgets/misc/e-spell-entry.c index 79f0d8a816..c232dbc948 100644 --- a/widgets/misc/e-spell-entry.c +++ b/widgets/misc/e-spell-entry.c @@ -777,19 +777,19 @@ e_spell_entry_finalize (GObject *object) } static void -e_spell_entry_class_init (ESpellEntryClass *klass) +e_spell_entry_class_init (ESpellEntryClass *class) { GObjectClass *object_class; GtkWidgetClass *widget_class; - g_type_class_add_private (klass, sizeof (ESpellEntryPrivate)); + g_type_class_add_private (class, sizeof (ESpellEntryPrivate)); - object_class = G_OBJECT_CLASS (klass); + object_class = G_OBJECT_CLASS (class); object_class->set_property = spell_entry_set_property; object_class->get_property = spell_entry_get_property; object_class->finalize = e_spell_entry_finalize; - widget_class = GTK_WIDGET_CLASS (klass); + widget_class = GTK_WIDGET_CLASS (class); widget_class->draw = e_spell_entry_draw; widget_class->button_press_event = e_spell_entry_button_press; diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 1c03ab8995..20b5569a85 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -1221,7 +1221,7 @@ web_view_stop_loading (EWebView *web_view) static void web_view_update_actions (EWebView *web_view, - GdkEventButton *event) + GdkEventButton *event) { GtkActionGroup *action_group; gboolean can_copy; @@ -2820,7 +2820,7 @@ e_web_view_stop_loading (EWebView *web_view) void e_web_view_update_actions (EWebView *web_view, - GdkEventButton *event) + GdkEventButton *event) { g_return_if_fail (E_IS_WEB_VIEW (web_view)); diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c index 6c1a9ab365..19791fb229 100644 --- a/widgets/table/e-table-field-chooser.c +++ b/widgets/table/e-table-field-chooser.c @@ -40,7 +40,6 @@ static void e_table_field_chooser_set_property (GObject *object, guint property_ static void e_table_field_chooser_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void e_table_field_chooser_dispose (GObject *object); -/* The arguments we take */ enum { PROP_0, PROP_FULL_HEADER, diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index a63646b3f8..937a3cce26 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -47,7 +47,6 @@ #define etgc_get_type e_table_group_container_get_type G_DEFINE_TYPE (ETableGroupContainer, etgc, E_TYPE_TABLE_GROUP) -/* The arguments we take */ enum { PROP_0, PROP_HEIGHT, diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index aface8e697..730a7b7160 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -41,7 +41,6 @@ #define etgl_get_type e_table_group_leaf_get_type G_DEFINE_TYPE (ETableGroupLeaf, etgl, E_TYPE_TABLE_GROUP) -/* The arguments we take */ enum { PROP_0, PROP_HEIGHT, diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 2728a7ebd9..68516d5b4d 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -34,7 +34,6 @@ #include "e-table-defines.h" #include "e-table-header.h" -/* The arguments we take */ enum { PROP_0, PROP_SORT_INFO, diff --git a/widgets/table/e-table-sorter.c b/widgets/table/e-table-sorter.c index 0e6b4623a3..7dc50c4782 100644 --- a/widgets/table/e-table-sorter.c +++ b/widgets/table/e-table-sorter.c @@ -35,7 +35,6 @@ #define d(x) -/* The arguments we take */ enum { PROP_0, PROP_SORT_INFO diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c index b872e72cbc..240227f162 100644 --- a/widgets/text/e-reflow.c +++ b/widgets/text/e-reflow.c @@ -58,7 +58,6 @@ static void e_reflow_resize_children (GnomeCanvasItem *item); G_DEFINE_TYPE (EReflow, e_reflow, GNOME_TYPE_CANVAS_GROUP) -/* The arguments we take */ enum { PROP_0, PROP_MINIMUM_WIDTH, |