Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385170 Details for
Bug 307591
gnome-extra/gnome-paint-0.4.0 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
84.patch
84.patch (text/plain), 966 bytes, created by
Wojciech Myrda
on 2014-09-20 11:14:09 UTC
(
hide
)
Description:
84.patch
Filename:
MIME Type:
Creator:
Wojciech Myrda
Created:
2014-09-20 11:14:09 UTC
Size:
966 bytes
patch
obsolete
>=== modified file 'src/toolbar.c' >--- src/toolbar.c 2010-12-13 12:45:43 +0000 >+++ src/toolbar.c 2014-04-19 08:13:46 +0000 >@@ -497,17 +497,15 @@ > static GtkWidget * > get_gtk_image ( GtkWidget *widget, gchar** xpm ) > { >- GdkPixmap *gdkpixmap = NULL; >- GdkBitmap *mask = NULL; >- GtkWidget *gtkimage = NULL; >- gdkpixmap = gdk_pixmap_create_from_xpm_d(widget->window, &mask, NULL, xpm); >- g_assert ( gdkpixmap ); >- gtkimage = gtk_image_new_from_pixmap(gdkpixmap, mask); >+ GdkPixbuf *gdkpixbuf = NULL; >+ GtkWidget *gtkimage = NULL; >+ gdkpixbuf = gdk_pixbuf_new_from_xpm_data(xpm); >+ g_assert ( gdkpixbuf ); >+ gtkimage = gtk_image_new_from_pixbuf ( gdkpixbuf ); > g_assert ( gtkimage ); >- g_object_unref ( G_OBJECT(gdkpixmap) ); >- g_object_unref ( G_OBJECT(mask) ); >- gtk_widget_show(gtkimage); >- return gtkimage; >+ g_object_unref ( (gpointer) gdkpixbuf ); >+ gtk_widget_show(gtkimage); >+ return gtkimage; > } > > static void >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 307591
:
221917
|
222989
|
385168
| 385170 |
385172
|
385174
|
385176