diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-07 23:25:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-07 23:39:47 +0800 |
commit | cd76c782bdfdae2efec7ff718fcc85c5559862c2 (patch) | |
tree | 1ca61d6c8c2a8a8496e38bc02656b87d536e940b /e-util | |
parent | 90cacf75ddd1eee547777935158674569417c684 (diff) | |
download | gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.gz gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.bz2 gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.lz gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.xz gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.tar.zst gsoc2013-evolution-cd76c782bdfdae2efec7ff718fcc85c5559862c2.zip |
Miscellaneous cleanups.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-alert-dialog.c | 4 | ||||
-rw-r--r-- | e-util/e-table-click-to-add.c | 4 | ||||
-rw-r--r-- | e-util/e-table-group-leaf.c | 10 | ||||
-rw-r--r-- | e-util/e-table-group.c | 10 | ||||
-rw-r--r-- | e-util/e-table.c | 8 | ||||
-rw-r--r-- | e-util/e-tree.c | 4 |
6 files changed, 21 insertions, 19 deletions
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index 156c2729ac..8b495c17db 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -324,8 +324,8 @@ e_alert_dialog_new_for_args (GtkWindow *parent, static gboolean dialog_focus_in_event_cb (GtkWindow *dialog, - GdkEvent *event, - GtkWindow *parent) + GdkEvent *event, + GtkWindow *parent) { gtk_window_set_urgency_hint (parent, FALSE); diff --git a/e-util/e-table-click-to-add.c b/e-util/e-table-click-to-add.c index 2f36b1899d..d5202f7a03 100644 --- a/e-util/e-table-click-to-add.c +++ b/e-util/e-table-click-to-add.c @@ -373,8 +373,8 @@ set_initial_selection (ETableClickToAdd *etcta) static void table_click_to_add_row_is_editing_changed_cb (ETableItem *item, - GParamSpec *param, - ETableClickToAdd *etcta) + GParamSpec *param, + ETableClickToAdd *etcta) { g_return_if_fail (E_IS_TABLE_CLICK_TO_ADD (etcta)); diff --git a/e-util/e-table-group-leaf.c b/e-util/e-table-group-leaf.c index a052e36913..bf1ef1b865 100644 --- a/e-util/e-table-group-leaf.c +++ b/e-util/e-table-group-leaf.c @@ -61,8 +61,8 @@ enum { static void etgl_item_is_editing_changed_cb (ETableItem *item, - GParamSpec *param, - ETableGroupLeaf *etgl) + GParamSpec *param, + ETableGroupLeaf *etgl) { g_return_if_fail (E_IS_TABLE_GROUP_LEAF (etgl)); @@ -109,7 +109,8 @@ etgl_dispose (GObject *object) etgl->item, etgl->etgl_start_drag_id); - g_signal_handlers_disconnect_by_func (etgl->item, + g_signal_handlers_disconnect_by_func ( + etgl->item, etgl_item_is_editing_changed_cb, etgl); etgl->etgl_cursor_change_id = 0; @@ -368,7 +369,8 @@ etgl_realize (GnomeCanvasItem *item) etgl->item, "start_drag", G_CALLBACK (etgl_start_drag), etgl); - g_signal_connect (etgl->item, "notify::is-editing", + g_signal_connect ( + etgl->item, "notify::is-editing", G_CALLBACK (etgl_item_is_editing_changed_cb), etgl); e_canvas_item_request_reflow (item); diff --git a/e-util/e-table-group.c b/e-util/e-table-group.c index 1c9ed2c39b..161ab68522 100644 --- a/e-util/e-table-group.c +++ b/e-util/e-table-group.c @@ -85,9 +85,9 @@ etg_dispose (GObject *object) static void etg_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) + guint property_id, + GValue *value, + GParamSpec *pspec) { ETableGroup *etg = E_TABLE_GROUP (object); @@ -795,8 +795,8 @@ e_table_group_is_editing (ETableGroup *table_group) g_return_val_if_fail (E_IS_TABLE_GROUP (table_group), FALSE); /* this should be called from the main thread only, - and each descendant overrides the property, - thus might cause no call recursion */ + * and each descendant overrides the property, + * thus might cause no call recursion */ if (in) { g_warn_if_reached (); return FALSE; diff --git a/e-util/e-table.c b/e-util/e-table.c index 9d6db60222..19298a90ab 100644 --- a/e-util/e-table.c +++ b/e-util/e-table.c @@ -1072,8 +1072,8 @@ et_table_rows_deleted (ETableModel *table_model, static void group_is_editing_changed_cb (ETableClickToAdd *etcta, - GParamSpec *param, - ETable *table) + GParamSpec *param, + ETable *table) { g_return_if_fail (E_IS_TABLE (table)); @@ -1371,8 +1371,8 @@ canvas_vbox_event (ECanvasVbox *vbox, static void click_to_add_is_editing_changed_cb (ETableClickToAdd *etcta, - GParamSpec *param, - ETable *table) + GParamSpec *param, + ETable *table) { g_return_if_fail (E_IS_TABLE (table)); diff --git a/e-util/e-tree.c b/e-util/e-tree.c index b861fa6ca1..de11f96d19 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -261,8 +261,8 @@ G_DEFINE_TYPE_WITH_CODE (ETree, e_tree, GTK_TYPE_TABLE, static void tree_item_is_editing_changed_cb (ETableItem *item, - GParamSpec *param, - ETree *tree) + GParamSpec *param, + ETree *tree) { g_return_if_fail (E_IS_TREE (tree)); |