[gtk: 46/72] filechooserwidget: Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 46/72] filechooserwidget: Cosmetics
- Date: Wed, 14 Oct 2020 19:08:12 +0000 (UTC)
commit 4eee6e732bc850af1716f7fe140ddac3e352c214
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 10 17:17:43 2020 +0200
filechooserwidget: Cosmetics
gtk/gtkfilechooserwidget.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index ed5b6f8939..50b9f6033e 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -8030,9 +8030,10 @@ gtk_file_chooser_widget_get_choice (GtkFileChooser *chooser,
return gtk_string_object_get_string (GTK_STRING_OBJECT (selected));
return NULL;
}
-
else if (GTK_IS_CHECK_BUTTON (widget))
- return gtk_check_button_get_active (GTK_CHECK_BUTTON (widget)) ? "true" : "false";
+ {
+ return gtk_check_button_get_active (GTK_CHECK_BUTTON (widget)) ? "true" : "false";
+ }
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]