Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166446 Details for
Bug 209520
New ebuild: net-print/pipslite-1.0.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suppresses a warning about const-ness.
fix-pixbuf.patch (text/plain), 1.04 KB, created by
Stephen J. Turnbull
on 2008-09-26 03:52:51 UTC
(
hide
)
Description:
Suppresses a warning about const-ness.
Filename:
MIME Type:
Creator:
Stephen J. Turnbull
Created:
2008-09-26 03:52:51 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/status-monitor/support.c b/status-monitor/support.c >index e1d0fff..61ac08b 100644 >--- a/status-monitor/support.c >+++ b/status-monitor/support.c >@@ -121,7 +121,7 @@ create_pixmap (GtkWidget *widget, > #ifdef HAVE_GTK_2 > > typedef struct stm_pixbuf_t { >- char **xpm_ptr; /* pixmap ptr */ >+ const char **xpm_ptr; /* pixmap ptr */ > GdkPixbuf *pixbuf; /* pixbuf */ > struct stm_pixbuf_t *next; > } stm_pixbuf; >@@ -141,13 +141,13 @@ create_pixbuf_from_xpm_data (const char **xpm_ptr) > } > > for ( pixbuf_list = &Stm_pixbuf_top; NULL != pixbuf_list; pixbuf_list = pixbuf_list->next ) { >- if ( ( NULL != pixbuf_list->xpm_ptr ) && ( pixbuf_list->xpm_ptr == (char **)xpm_ptr ) ) { >+ if ( ( NULL != pixbuf_list->xpm_ptr ) && ( pixbuf_list->xpm_ptr == xpm_ptr ) ) { > return pixbuf_list->pixbuf; > } > } > > /* pixbuf = gdk_pixbuf_new_from_file (pathname, &error); */ >- pixbuf = gdk_pixbuf_new_from_xpm_data((const char**)xpm_ptr); >+ pixbuf = gdk_pixbuf_new_from_xpm_data(xpm_ptr); > > if (!pixbuf) > {
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 209520
:
143111
|
143113
|
147832
|
152299
|
152301
|
152303
|
156377
|
164880
|
166445
| 166446 |
166448
|
180635
|
180637
|
207508
|
207514
|
207542