aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-27 02:51:21 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-27 02:51:21 +0800
commit420b17b1dbc5d3ebea10ea44c155b34c118a6f99 (patch)
treea137a50ab4be6f22c5e13450cc9ef0709c30b8b0 /embed
parenta1ef272177c238c5e1b6196b3ed4c8f948e236f3 (diff)
downloadgsoc2013-epiphany-420b17b1dbc5d3ebea10ea44c155b34c118a6f99.tar.gz
gsoc2013-epiphany-420b17b1dbc5d3ebea10ea44c155b34c118a6f99.tar.zst
gsoc2013-epiphany-420b17b1dbc5d3ebea10ea44c155b34c118a6f99.zip
Use gtk_widget_get_settings on the EphyDialog's window, not on the dialog
2004-10-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Use gtk_widget_get_settings on the EphyDialog's window, not on the dialog itself.
Diffstat (limited to 'embed')
-rw-r--r--embed/downloader-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 2cab89d82..040d4cbda 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -486,7 +486,7 @@ downloader_view_add_download (DownloaderView *dv,
mime, GNOME_ICON_LOOKUP_FLAGS_NONE, NULL);
g_free (mime);
- gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (GTK_WIDGET (dv)),
+ gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (GTK_WIDGET (dv->priv->window)),
GTK_ICON_SIZE_MENU, &width, &height);
width *= 2;