summaryrefslogtreecommitdiff
path: root/src/prefs-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs-dialog.h')
-rw-r--r--src/prefs-dialog.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/prefs-dialog.h b/src/prefs-dialog.h
index 3c5528b2f..358886d10 100644
--- a/src/prefs-dialog.h
+++ b/src/prefs-dialog.h
@@ -19,7 +19,8 @@
#ifndef PREFS_DIALOG_H
#define PREFS_DIALOG_H
-#include <gtk/gtkdialog.h>
+#include "ephy-dialog.h"
+
#include <glib-object.h>
#include <glib.h>
@@ -34,30 +35,19 @@ typedef struct PrefsDialogClass PrefsDialogClass;
typedef struct PrefsDialogPrivate PrefsDialogPrivate;
-typedef enum
-{
- PREFS_PAGE_GENERAL,
- PREFS_PAGE_APPEARANCE,
- PREFS_PAGE_UI,
- PREFS_PAGE_ADVANCED
-} PrefsPageID;
-
struct PrefsDialog
{
- GtkDialog parent;
+ EphyDialog parent;
PrefsDialogPrivate *priv;
};
struct PrefsDialogClass
{
- GtkDialogClass parent_class;
+ EphyDialogClass parent_class;
};
GType prefs_dialog_get_type (void);
-GtkDialog *prefs_dialog_new (void);
-
-void prefs_dialog_show_page (PrefsDialog *pd,
- PrefsPageID id);
+EphyDialog *prefs_dialog_new (GtkWidget *parent);
#endif