Commit 705114f0 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

added unused "GSList *file_procs" parameter.

2004-03-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_new): added
	unused "GSList *file_procs" parameter.

	* app/gui/file-open-dialog.c: pass gimp->load_procs.
	* app/gui/file-save-dialog.c: pass gimp->save_procs.
parent ad26c89b
2004-03-01 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_new): added
unused "GSList *file_procs" parameter.
* app/gui/file-open-dialog.c: pass gimp->load_procs.
* app/gui/file-save-dialog.c: pass gimp->save_procs.
2004-02-29 Sven Neumann <sven@gimp.org>
* app/tools/gimpblendoptions.c: changed the upper limit for the
......@@ -137,7 +137,7 @@ file_open_dialog_create (Gimp *gimp,
{
GtkWidget *dialog;
dialog = gimp_file_dialog_new (gimp,
dialog = gimp_file_dialog_new (gimp, gimp->load_procs,
menu_factory, "<Load>",
_("Open Image"), "gimp-file-open",
GTK_STOCK_OPEN,
......
......@@ -182,7 +182,7 @@ file_save_dialog_create (Gimp *gimp,
{
GtkWidget *save_dialog;
save_dialog = gimp_file_dialog_new (gimp,
save_dialog = gimp_file_dialog_new (gimp, gimp->save_procs,
menu_factory, "<Save>",
_("Save Image"), "gimp-file-save",
GTK_STOCK_SAVE,
......
......@@ -137,7 +137,7 @@ file_open_dialog_create (Gimp *gimp,
{
GtkWidget *dialog;
dialog = gimp_file_dialog_new (gimp,
dialog = gimp_file_dialog_new (gimp, gimp->load_procs,
menu_factory, "<Load>",
_("Open Image"), "gimp-file-open",
GTK_STOCK_OPEN,
......
......@@ -182,7 +182,7 @@ file_save_dialog_create (Gimp *gimp,
{
GtkWidget *save_dialog;
save_dialog = gimp_file_dialog_new (gimp,
save_dialog = gimp_file_dialog_new (gimp, gimp->save_procs,
menu_factory, "<Save>",
_("Save Image"), "gimp-file-save",
GTK_STOCK_SAVE,
......
......@@ -136,6 +136,7 @@ gimp_file_dialog_delete_event (GtkWidget *widget,
GtkWidget *
gimp_file_dialog_new (Gimp *gimp,
GSList *file_procs,
GimpMenuFactory *menu_factory,
const gchar *menu_identifier,
const gchar *title,
......@@ -149,6 +150,7 @@ gimp_file_dialog_new (Gimp *gimp,
GtkWidget *label;
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
g_return_val_if_fail (file_procs != NULL, NULL);
g_return_val_if_fail (GIMP_IS_MENU_FACTORY (menu_factory), NULL);
g_return_val_if_fail (menu_identifier != NULL, NULL);
g_return_val_if_fail (title != NULL, NULL);
......
......@@ -59,6 +59,7 @@ struct _GimpFileDialogClass
GType gimp_file_dialog_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_file_dialog_new (Gimp *gimp,
GSList *file_procs,
GimpMenuFactory *menu_factory,
const gchar *menu_identifier,
const gchar *title,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment