diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-25 19:50:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-25 19:50:03 +0800 |
commit | a33d5f514695d3d487043397f3baf4f31cc92b73 (patch) | |
tree | 24cb5eeacb26401f3dd1fed7918e9d7937057cf2 /embed | |
parent | ebe9e8c7f0333591c5120d9645f9a0c1d7ebd0a9 (diff) | |
download | gsoc2013-epiphany-a33d5f514695d3d487043397f3baf4f31cc92b73.tar.gz gsoc2013-epiphany-a33d5f514695d3d487043397f3baf4f31cc92b73.tar.zst gsoc2013-epiphany-a33d5f514695d3d487043397f3baf4f31cc92b73.zip |
Use gtk_icon_size_lookup_for_settings() here.
2004-10-25 Christian Persch <chpe@cvs.gnome.org>
* embed/downloader-view.c: (downloader_view_add_download):
* lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images),
(ephy_spinner_size_request):
* src/ephy-notebook.c: (tab_label_style_set_cb):
* src/window-commands.c: (window_cmd_help_about):
Use gtk_icon_size_lookup_for_settings() here.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/downloader-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 785a491ad..2cab89d82 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -486,7 +486,8 @@ downloader_view_add_download (DownloaderView *dv, mime, GNOME_ICON_LOOKUP_FLAGS_NONE, NULL); g_free (mime); - gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &width, &height); + gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (GTK_WIDGET (dv)), + GTK_ICON_SIZE_MENU, &width, &height); width *= 2; icon_info = gtk_icon_theme_lookup_icon (theme, icon_name, width, 0); |