summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-undo-signal-handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-private/nautilus-undo-signal-handlers.c')
-rw-r--r--libnautilus-private/nautilus-undo-signal-handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnautilus-private/nautilus-undo-signal-handlers.c b/libnautilus-private/nautilus-undo-signal-handlers.c
index ef4207325..82040b7cd 100644
--- a/libnautilus-private/nautilus-undo-signal-handlers.c
+++ b/libnautilus-private/nautilus-undo-signal-handlers.c
@@ -80,7 +80,7 @@ nautilus_undo_set_up_nautilus_entry_for_undo (NautilusEntry *entry)
data, free_editable_object_data);
/* Connect to entry signals */
- g_signal_connect (G_OBJECT (entry),
+ g_signal_connect (entry,
"user_changed",
G_CALLBACK (nautilus_entry_user_changed_callback),
NULL);
@@ -192,12 +192,12 @@ nautilus_undo_set_up_editable_for_undo (GtkEditable *editable)
}
/* Connect to editable signals */
- g_signal_connect (G_OBJECT (editable),
+ g_signal_connect (editable,
"insert_text",
G_CALLBACK (editable_insert_text_callback),
NULL);
- g_signal_connect (G_OBJECT (editable),
+ g_signal_connect (editable,
"delete_text",
G_CALLBACK (editable_delete_text_callback),
NULL);
@@ -328,7 +328,7 @@ nautilus_undo_editable_set_undo_key (GtkEditable *editable, gboolean value)
#ifdef UNDO_ENABLED
if (value) {
/* Connect to entry signals */
- g_signal_connect (G_OBJECT (editable),
+ g_signal_connect (editable,
"key_press_event",
G_CALLBACK (editable_key_press_event),
NULL);