[gimp] app: Don't define stuff in the middle of a file



commit cf0db5c6bfd2e98eb616a15a0750702ff9ff27cf
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Aug 26 21:55:23 2009 +0200

    app: Don't define stuff in the middle of a file

 app/widgets/gimpfiledialog.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpfiledialog.c b/app/widgets/gimpfiledialog.c
index ed3f869..290423e 100644
--- a/app/widgets/gimpfiledialog.c
+++ b/app/widgets/gimpfiledialog.c
@@ -56,6 +56,10 @@
 #include "gimp-intl.h"
 
 
+/*  an arbitrary limit to keep the file dialog from becoming too wide  */
+#define MAX_EXTENSIONS  4
+
+
 struct _GimpFileDialogState
 {
   gchar *filter_name;
@@ -793,9 +797,6 @@ gimp_file_dialog_add_filters (GimpFileDialog *dialog,
 
           str = g_string_new (gimp_plug_in_procedure_get_label (file_proc));
 
-/*  an arbitrary limit to keep the file dialog from becoming too wide  */
-#define MAX_EXTENSIONS  4
-
           for (ext = file_proc->extensions_list, i = 0;
                ext;
                ext = g_slist_next (ext), i++)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]