diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-06 17:08:45 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-06 17:08:45 +0800 |
commit | 97b3379c9a8f401727d382115a59115434d72578 (patch) | |
tree | 568428680d688a3d21717fcedcc1c5628dab3792 /x11-toolkits/libgnomeui/files | |
parent | 39219922e609b99a4ea91e82dcacfb5776d145d2 (diff) | |
download | marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar.gz marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar.bz2 marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar.lz marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar.xz marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.tar.zst marcuscom-ports-97b3379c9a8f401727d382115a59115434d72578.zip |
Update to 2.15.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6231 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgnomeui/files')
-rw-r--r-- | x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-thumbnail.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-thumbnail.c b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-thumbnail.c new file mode 100644 index 000000000..c3c751eff --- /dev/null +++ b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-thumbnail.c @@ -0,0 +1,28 @@ +--- libgnomeui/gnome-thumbnail.c.orig Sat Jan 21 23:11:21 2006 ++++ libgnomeui/gnome-thumbnail.c Sat Jan 21 23:10:52 2006 +@@ -994,11 +994,7 @@ gnome_thumbnail_factory_generate_thumbna + return NULL; + + width = gdk_pixbuf_get_width (pixbuf); +- g_object_set_data_full (G_OBJECT (pixbuf), "gnome-thumbnail-width", +- g_strdup_printf ("%d", width), g_free); + height = gdk_pixbuf_get_height (pixbuf); +- g_object_set_data_full (G_OBJECT (pixbuf), "gnome-thumbnail-height", +- g_strdup_printf ("%d", height), g_free); + + if (width > size || height > size) + { +@@ -1011,6 +1007,13 @@ gnome_thumbnail_factory_generate_thumbna + g_object_unref (pixbuf); + pixbuf = scaled; + } ++ ++ width = gdk_pixbuf_get_width (pixbuf); ++ g_object_set_data_full (G_OBJECT (pixbuf), "gnome-thumbnail-width", ++ g_strdup_printf ("%d", width), g_free); ++ height = gdk_pixbuf_get_height (pixbuf); ++ g_object_set_data_full (G_OBJECT (pixbuf), "gnome-thumbnail-height", ++ g_strdup_printf ("%d", height), g_free); + + return pixbuf; + } |