aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-09-01 17:06:52 +0800
committerXan Lopez <xan@gnome.org>2010-09-01 17:10:07 +0800
commit1a21e15098d622ecb06efa4034d3f2d8e5dc4d79 (patch)
tree4f4c888cd608cde1be048b2b68322533964c13b2 /src
parenteb1d1d55d89f892c158771b89eb80b49970f2139 (diff)
downloadgsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar.gz
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar.bz2
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar.lz
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar.xz
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.tar.zst
gsoc2013-epiphany-1a21e15098d622ecb06efa4034d3f2d8e5dc4d79.zip
pdm-dialog: use gtk_message_dialog_get_message_area instead of home-grown hack
Yay.
Diffstat (limited to 'src')
-rw-r--r--src/pdm-dialog.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 9a97a5bce..2ad6355dd 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -351,20 +351,6 @@ clear_all_dialog_checkbutton_toggled_cb (GtkToggleButton *toggle,
data->num_checked != 0);
}
-static GtkWidget*
-_gtk_message_dialog_get_content_area (GtkMessageDialog *dialog)
-{
- GtkWidget *image, *parent, *box;
- GList *children;
-
- image = gtk_message_dialog_get_image (dialog);
- parent = gtk_widget_get_parent (image);
- children = gtk_container_get_children (GTK_CONTAINER (parent));
- box = GTK_WIDGET (children->next->data);
- g_list_free (children);
- return box;
-}
-
void
pdm_dialog_show_clear_all_dialog (EphyDialog *edialog,
GtkWidget *parent,
@@ -413,10 +399,7 @@ pdm_dialog_show_clear_all_dialog (EphyDialog *edialog,
#endif
vbox = gtk_vbox_new (FALSE, 6);
- /* This is extremely evil, but at least we'll compile with
- * GSEAL enabled until #328069 is resolved. If it's WONTFIXED
- * we'll just do this from scratch with a normal GtkDialog */
- content_area = _gtk_message_dialog_get_content_area (GTK_MESSAGE_DIALOG (dialog));
+ content_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
gtk_box_pack_start (GTK_BOX (content_area),
vbox, FALSE, FALSE, 0);