[nautilus] file-name-widget-controller: rerun uncrustify
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-name-widget-controller: rerun uncrustify
- Date: Tue, 6 Sep 2016 13:41:48 +0000 (UTC)
commit 995fad689367ff71d1104709d0b9bdee0482324a
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Sep 6 15:24:37 2016 +0200
file-name-widget-controller: rerun uncrustify
https://bugzilla.gnome.org/show_bug.cgi?id=770564
src/nautilus-file-name-widget-controller.c | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-file-name-widget-controller.c b/src/nautilus-file-name-widget-controller.c
index 2a4cd45..0deff90 100644
--- a/src/nautilus-file-name-widget-controller.c
+++ b/src/nautilus-file-name-widget-controller.c
@@ -306,14 +306,19 @@ nautilus_file_name_widget_controller_set_property (GObject *object,
switch (prop_id)
{
case PROP_ERROR_REVEALER:
+ {
priv->error_revealer = GTK_WIDGET (g_value_get_object (value));
- break;
+ }
+ break;
case PROP_ERROR_LABEL:
+ {
priv->error_label = GTK_WIDGET (g_value_get_object (value));
- break;
+ }
+ break;
case PROP_NAME_ENTRY:
+ {
priv->name_entry = GTK_WIDGET (g_value_get_object (value));
g_signal_connect_swapped (G_OBJECT (priv->name_entry),
@@ -324,25 +329,32 @@ nautilus_file_name_widget_controller_set_property (GObject *object,
"changed",
(GCallback) file_name_widget_controller_on_changed,
controller);
- break;
+ }
+ break;
case PROP_ACTION_BUTTON:
+ {
priv->activate_button = GTK_WIDGET (g_value_get_object (value));
g_signal_connect_swapped (G_OBJECT (priv->activate_button),
"clicked",
(GCallback) file_name_widget_controller_on_activate,
controller);
- break;
+ }
+ break;
case PROP_CONTAINING_DIRECTORY:
+ {
priv->containing_directory = NAUTILUS_DIRECTORY (g_value_get_object (value));
nautilus_directory_ref (priv->containing_directory);
- break;
+ }
+ break;
default:
+ {
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
+ }
+ break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]