diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-12-09 22:35:38 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-12-10 00:01:54 +0100 |
commit | 63b48b37d2fb69e30ae3a1ae9c9c67247ba502fd (patch) | |
tree | 6454c0d8ab581bc4579d27d017fc1d37c3f2d08c | |
parent | 6205e6b26bbf76a47bf0d22bcfe7bfa4d5cef982 (diff) | |
download | nautilus-63b48b37d2fb69e30ae3a1ae9c9c67247ba502fd.tar.gz |
general: fix typo
Mis hojos!
-rw-r--r-- | src/nautilus-canvas-dnd.c | 10 | ||||
-rw-r--r-- | src/nautilus-dnd.c | 2 | ||||
-rw-r--r-- | src/nautilus-dnd.h | 4 | ||||
-rw-r--r-- | src/nautilus-window-slot-dnd.c | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/nautilus-canvas-dnd.c b/src/nautilus-canvas-dnd.c index 5b957e0f2..d01c876c3 100644 --- a/src/nautilus-canvas-dnd.c +++ b/src/nautilus-canvas-dnd.c @@ -561,7 +561,7 @@ get_data_on_first_target_we_support (GtkWidget *widget, /* Don't get_data for destructive ops */ if ((info == NAUTILUS_ICON_DND_ROOTWINDOW_DROP || info == NAUTILUS_ICON_DND_XDNDDIRECTSAVE) && - !drag_info->drop_occured) + !drag_info->drop_occurred) { /* We can't call get_data here, because that would * make the source execute the rootwin action or the direct save */ @@ -1742,11 +1742,11 @@ drag_drop_callback (GtkWidget *widget, dnd_info = NAUTILUS_CANVAS_CONTAINER (widget)->details->dnd_info; /* tell the drag_data_received callback that - * the drop occured and that it can actually + * the drop occurred and that it can actually * process the actions. * make sure it is going to be called at least once. */ - dnd_info->drag_info.drop_occured = TRUE; + dnd_info->drag_info.drop_occurred = TRUE; get_data_on_first_target_we_support (widget, context, time, x, y); @@ -1840,7 +1840,7 @@ drag_data_received_callback (GtkWidget *widget, /* this is the second use case of this callback. * we have to do the actual work for the drop. */ - if (drag_info->drop_occured) + if (drag_info->drop_occurred) { success = FALSE; switch (info) @@ -1952,7 +1952,7 @@ drag_data_received_callback (GtkWidget *widget, set_drop_target (NAUTILUS_CANVAS_CONTAINER (widget), NULL); /* reinitialise it for the next dnd */ - drag_info->drop_occured = FALSE; + drag_info->drop_occurred = FALSE; } } diff --git a/src/nautilus-dnd.c b/src/nautilus-dnd.c index fb5ebeca1..733811e82 100644 --- a/src/nautilus-dnd.c +++ b/src/nautilus-dnd.c @@ -72,7 +72,7 @@ nautilus_drag_init (NautilusDragInfo *drag_info, NAUTILUS_ICON_DND_TEXT); } - drag_info->drop_occured = FALSE; + drag_info->drop_occurred = FALSE; drag_info->need_to_destroy = FALSE; } diff --git a/src/nautilus-dnd.h b/src/nautilus-dnd.h index 35872ae9b..d4d3bb853 100644 --- a/src/nautilus-dnd.h +++ b/src/nautilus-dnd.h @@ -64,8 +64,8 @@ typedef struct { * come from another nautilus process, like the desktop. */ NautilusFileListHandle *file_list_info_handler; - /* has the drop occured ? */ - gboolean drop_occured; + /* has the drop occurred ? */ + gboolean drop_occurred; /* whether or not need to clean up the previous dnd data */ gboolean need_to_destroy; diff --git a/src/nautilus-window-slot-dnd.c b/src/nautilus-window-slot-dnd.c index fbf6c40eb..b8dd87a07 100644 --- a/src/nautilus-window-slot-dnd.c +++ b/src/nautilus-window-slot-dnd.c @@ -35,7 +35,7 @@ typedef struct gboolean have_data; gboolean have_valid_data; - gboolean drop_occured; + gboolean drop_occurred; unsigned int info; union @@ -326,7 +326,7 @@ out: drag_info->have_data = FALSE; drag_info->have_valid_data = FALSE; - drag_info->drop_occured = FALSE; + drag_info->drop_occurred = FALSE; } static void @@ -357,7 +357,7 @@ slot_proxy_drag_drop (GtkWidget *widget, drag_info = user_data; g_assert (!drag_info->have_data); - drag_info->drop_occured = TRUE; + drag_info->drop_occurred = TRUE; target = gtk_drag_dest_find_target (widget, context, NULL); gtk_drag_get_data (widget, context, target, time); @@ -519,7 +519,7 @@ slot_proxy_drag_data_received (GtkWidget *widget, drag_info->have_valid_data = drag_info->data.selection_data != NULL; } - if (drag_info->drop_occured) + if (drag_info->drop_occurred) { slot_proxy_handle_drop (widget, context, time, drag_info); } |