gedit r6604 - in trunk: . plugins/filebrowser
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6604 - in trunk: . plugins/filebrowser
- Date: Wed, 19 Nov 2008 09:37:03 +0000 (UTC)
Author: jessevdk
Date: Wed Nov 19 09:37:03 2008
New Revision: 6604
URL: http://svn.gnome.org/viewvc/gedit?rev=6604&view=rev
Log:
* plugins/filebrowser/gedit-file-browser-utils.c: fixed wrong use of
GtkIconSize for gtk_icon_theme_lookup_by_gicon
Modified:
trunk/ChangeLog
trunk/plugins/filebrowser/gedit-file-browser-utils.c
Modified: trunk/plugins/filebrowser/gedit-file-browser-utils.c
==============================================================================
--- trunk/plugins/filebrowser/gedit-file-browser-utils.c (original)
+++ trunk/plugins/filebrowser/gedit-file-browser-utils.c Wed Nov 19 09:37:03 2008
@@ -56,14 +56,17 @@
GdkPixbuf * ret = NULL;
GtkIconTheme *theme;
GtkIconInfo *info;
-
+ gint width;
+
if (!icon)
return NULL;
theme = gtk_icon_theme_get_default ();
+ gtk_icon_size_lookup (size, &width, NULL);
+
info = gtk_icon_theme_lookup_by_gicon (theme,
icon,
- size,
+ width,
GTK_ICON_LOOKUP_USE_BUILTIN);
if (!info)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]