diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-11-30 21:35:21 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-11-30 21:35:21 +0100 |
commit | 838691f27a78aa52e5dded5dc13867ebf4746a1c (patch) | |
tree | 4e3aa39176d8f00b906a077c624d554bb79614a2 /src/nautilus-location-entry.c | |
parent | 3050a9c6e2131aa96faf3516e86711ad0dd4c0c1 (diff) | |
download | nautilus-838691f27a78aa52e5dded5dc13867ebf4746a1c.tar.gz |
general: format code with newer Uncrustify
Some issues were fixed, and now we can rerun Uncrustify to format
correctly more part of the code.
Diffstat (limited to 'src/nautilus-location-entry.c')
-rw-r--r-- | src/nautilus-location-entry.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c index f2830ab78..b2d5a5f77 100644 --- a/src/nautilus-location-entry.c +++ b/src/nautilus-location-entry.c @@ -337,13 +337,13 @@ drag_data_get_callback (GtkWidget *widget, { case NAUTILUS_DND_URI_LIST: case NAUTILUS_DND_TEXT_PLAIN: - { - gtk_selection_data_set (selection_data, - gtk_selection_data_get_target (selection_data), - 8, (guchar *) uri, - strlen (uri)); - } - break; + { + gtk_selection_data_set (selection_data, + gtk_selection_data_get_target (selection_data), + 8, (guchar *) uri, + strlen (uri)); + } + break; default: g_assert_not_reached (); @@ -428,9 +428,9 @@ entry_would_have_inserted_characters (const GdkEventKey *event) case GDK_KEY_KP_Left: case GDK_KEY_KP_Right: case GDK_KEY_Return: - { - return FALSE; - } + { + return FALSE; + } default: if (event->keyval >= 0x20 && event->keyval <= 0xFF) @@ -609,16 +609,16 @@ nautilus_location_entry_icon_release (GtkEntry *gentry, switch (priv->secondary_action) { case NAUTILUS_LOCATION_ENTRY_ACTION_GOTO: - { - g_signal_emit_by_name (gentry, "activate", gentry); - } - break; + { + g_signal_emit_by_name (gentry, "activate", gentry); + } + break; case NAUTILUS_LOCATION_ENTRY_ACTION_CLEAR: - { - gtk_entry_set_text (gentry, ""); - } - break; + { + gtk_entry_set_text (gentry, ""); + } + break; default: g_assert_not_reached (); @@ -780,20 +780,20 @@ nautilus_location_entry_set_secondary_action (NautilusLocationEntry *entry switch (secondary_action) { case NAUTILUS_LOCATION_ENTRY_ACTION_CLEAR: - { - gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), - GTK_ENTRY_ICON_SECONDARY, - "edit-clear-symbolic"); - } - break; + { + gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), + GTK_ENTRY_ICON_SECONDARY, + "edit-clear-symbolic"); + } + break; case NAUTILUS_LOCATION_ENTRY_ACTION_GOTO: - { - gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), - GTK_ENTRY_ICON_SECONDARY, - "go-next-symbolic"); - } - break; + { + gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), + GTK_ENTRY_ICON_SECONDARY, + "go-next-symbolic"); + } + break; default: g_assert_not_reached (); |