aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-new-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view-new-dialog.h')
-rw-r--r--widgets/menus/gal-view-new-dialog.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-new-dialog.h b/widgets/menus/gal-view-new-dialog.h
index 79f04d06b4..de4fcc9387 100644
--- a/widgets/menus/gal-view-new-dialog.h
+++ b/widgets/menus/gal-view-new-dialog.h
@@ -23,6 +23,7 @@
#include <gnome.h>
#include <glade/glade.h>
+#include <gal-view-collection.h>
#ifdef __cplusplus
extern "C" {
@@ -52,6 +53,9 @@ struct _GalViewNewDialog
/* item specific fields */
GladeXML *gui;
+
+ GalViewCollection *collection;
+ GalViewFactory *selected_factory;
};
struct _GalViewNewDialogClass
@@ -59,8 +63,11 @@ struct _GalViewNewDialogClass
GnomeDialogClass parent_class;
};
-GtkWidget *gal_view_new_dialog_new (void);
-GtkType gal_view_new_dialog_get_type (void);
+GtkWidget *gal_view_new_dialog_new (GalViewCollection *collection);
+GtkType gal_view_new_dialog_get_type (void);
+
+GtkWidget *gal_view_new_dialog_construct (GalViewNewDialog *dialog,
+ GalViewCollection *collection);
#ifdef __cplusplus
}