aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-12-08 22:30:53 +0800
committerXan Lopez <xan@gnome.org>2009-12-08 22:30:53 +0800
commit4a6ed5620061fbbcf3605add12f8043a07accbca (patch)
tree9bcf4243fae97ef3f6673081a7b1225527403d2a /src
parent42c2aa380667134ba1cd27932c55e4364f3a2d7d (diff)
downloadgsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar.gz
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar.bz2
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar.lz
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar.xz
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.tar.zst
gsoc2013-epiphany-4a6ed5620061fbbcf3605add12f8043a07accbca.zip
ephy-encoding-dialog: fix compiler warning (and bug!)
Diffstat (limited to 'src')
-rw-r--r--src/ephy-encoding-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index 00953ba6b..2b69ca9d2 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -345,9 +345,8 @@ ephy_encoding_dialog_init (EphyEncodingDialog *dialog)
(EPHY_DIALOG (dialog), properties[SCROLLED_WINDOW_PROP].id);
gtk_container_add (GTK_CONTAINER (scroller), treeview);
- child = gtk_bin_get_child (GTK_BIN (button));
-
button = ephy_dialog_get_control (EPHY_DIALOG (dialog), properties[AUTOMATIC_PROP].id);
+ child = gtk_bin_get_child (GTK_BIN (button));
gtk_label_set_use_markup (GTK_LABEL (child), TRUE);
g_signal_connect (button, "toggled",
G_CALLBACK (automatic_toggled_cb), dialog);