aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-19 05:48:12 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-19 05:48:12 +0800
commit5532d7831fe768cbf8100c84668291dc707ef1fb (patch)
tree6999b41e396e6de9cb6c0e31fbf612f0c4a58e6d /lib
parent391793b9bb2498599791b506f6c09080845ae7b0 (diff)
downloadgsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar.gz
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar.bz2
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar.lz
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar.xz
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.tar.zst
gsoc2013-epiphany-5532d7831fe768cbf8100c84668291dc707ef1fb.zip
Introduce ephy_dialog_hide().
2004-01-18 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_hide): * lib/ephy-dialog.h: Introduce ephy_dialog_hide().
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-dialog.c9
-rw-r--r--lib/ephy-dialog.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 60a8d3fa0..ae2f8598c 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1152,6 +1152,15 @@ ephy_dialog_show (EphyDialog *dialog)
klass->show (dialog);
}
+void
+ephy_dialog_hide (EphyDialog *dialog)
+{
+ g_return_if_fail (EPHY_IS_DIALOG (dialog));
+ g_return_if_fail (dialog->priv->dialog != NULL);
+
+ gtk_widget_hide (dialog->priv->dialog);
+}
+
#if 0
static void
run_response_cb (GtkWidget *dialog,
diff --git a/lib/ephy-dialog.h b/lib/ephy-dialog.h
index 40c88f57c..2a956464d 100644
--- a/lib/ephy-dialog.h
+++ b/lib/ephy-dialog.h
@@ -106,6 +106,8 @@ int ephy_dialog_run (EphyDialog *dialog);
void ephy_dialog_show (EphyDialog *dialog);
+void ephy_dialog_hide (EphyDialog *dialog);
+
void ephy_dialog_set_modal (EphyDialog *dialog,
gboolean is_modal);