app: Don't define stuff in the middle of a file
This commit is contained in:
parent
5f3721235e
commit
cf0db5c6bf
1 changed files with 4 additions and 3 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue