aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus/gal-view.h')
-rw-r--r--widgets/menus/gal-view.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/widgets/menus/gal-view.h b/widgets/menus/gal-view.h
index 5ae99b8535..77056243c5 100644
--- a/widgets/menus/gal-view.h
+++ b/widgets/menus/gal-view.h
@@ -24,7 +24,7 @@
#ifndef _GAL_VIEW_H_
#define _GAL_VIEW_H_
-#include <gtk/gtkobject.h>
+#include <gtk/gtkwindow.h>
#include <libxml/tree.h>
#ifdef __cplusplus
@@ -48,7 +48,7 @@ typedef struct {
/*
* Virtual methods
*/
- void (*edit) (GalView *view);
+ void (*edit) (GalView *view, GtkWindow *parent_window);
void (*load) (GalView *view,
const char *filename);
void (*save) (GalView *view,
@@ -66,8 +66,9 @@ typedef struct {
/* Standard functions */
GType gal_view_get_type (void);
-/* Open an editor dialog for this view. */
-void gal_view_edit (GalView *view);
+/* Open an editor dialog for this view, modal/transient for the GtkWindow arg. */
+void gal_view_edit (GalView *view,
+ GtkWindow *parent);
/* xml load and save functions */
void gal_view_load (GalView *view,