aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 5013281ef..c359d5274 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1285,7 +1285,15 @@ ephy_dialog_finalize (GObject *object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-static void
+GtkWidget *
+ephy_dialog_get_parent (EphyDialog *dialog)
+{
+ g_return_val_if_fail (EPHY_IS_DIALOG (dialog), NULL);
+
+ return dialog->priv->parent;
+}
+
+void
ephy_dialog_set_parent (EphyDialog *dialog,
GtkWidget *parent)
{