summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@redhat.com>2017-05-26 14:27:44 +0200
committerArx Cruz <arxcruz@redhat.com>2017-05-26 14:27:44 +0200
commitad6a345133ab026465903fc89b8275bf9c5ea8a5 (patch)
tree5795d1fb3f813a4e8d2c7db316bba49dc980a3b6 /src
parentUse GtkFileChooserNative (diff)
downloadzenity-ad6a345133ab026465903fc89b8275bf9c5ea8a5.tar.gz
zenity-ad6a345133ab026465903fc89b8275bf9c5ea8a5.tar.bz2
zenity-ad6a345133ab026465903fc89b8275bf9c5ea8a5.zip
Formating latest patch
Diffstat (limited to 'src')
-rw-r--r--src/fileselection.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fileselection.c b/src/fileselection.c
index 63c18439..465f08ae 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -60,11 +60,10 @@ zenity_fileselection (ZenityData *data, ZenityFileData *file_data) {
NULL, /* TODO: Get parent from xid */
action,
_ ("_OK"),
- _ ("_Cancel")
- );
+ _ ("_Cancel"));
if (data->modal)
- gtk_native_dialog_set_modal (GTK_NATIVE_DIALOG(dialog), TRUE);
+ gtk_native_dialog_set_modal (GTK_NATIVE_DIALOG (dialog), TRUE);
if (data->extra_label)
g_warning ("Cannot add extra labels to GtkFileChooserNative");
@@ -176,7 +175,7 @@ zenity_fileselection (ZenityData *data, ZenityFileData *file_data) {
}
#if GTK_CHECK_VERSION(3, 20, 0)
- gtk_native_dialog_show (GTK_NATIVE_DIALOG(dialog));
+ gtk_native_dialog_show (GTK_NATIVE_DIALOG (dialog));
#else
zenity_util_show_dialog (dialog, data->attach);
#endif
@@ -211,7 +210,7 @@ zenity_fileselection_dialog_response (
gpointer obj, int response, gpointer data) {
ZenityFileData *file_data = data;
- GtkFileChooser *chooser = GTK_FILE_CHOOSER(obj);
+ GtkFileChooser *chooser = GTK_FILE_CHOOSER (obj);
switch (response) {
case GTK_RESPONSE_ACCEPT:
bgstack15