Wireshark-bugs: [Wireshark-bugs] [Bug 10750] Use of GdkPixdata / gdk_pixbuf_new_from_inline depr

Date: Fri, 22 May 2015 08:10:30 +0000

changed bug 10750


What Removed Added
Status RESOLVED CONFIRMED
CC   [email protected]
Resolution FIXED ---

Comment # 17 on bug 10750 from
Using Ubuntu 15.04, it still does not build for me with
v1.99.6rc0-647-g8f462b0:

gui_utils.c: In function ‘window_icon_realize_cb’:
gui_utils.c:115:5: error: ‘gdk_pixbuf_new_from_inline’ is deprecated (declared
at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:314)
[-Werror=deprecated-declarations]
     icon = gdk_pixbuf_new_from_inline(-1, wsicon_16_pb_data, FALSE, NULL);
     ^

gdk-pixbuf-core.h file contains:

#ifndef GDK_PIXBUF_DISABLE_DEPRECATED
G_DEPRECATED
GdkPixbuf* gdk_pixbuf_new_from_inline    (gint          data_length,
                     const guint8 *data,
                     gboolean      copy_pixels,
                     GError      **error);
#endif


You are receiving this mail because:
  • You are watching all bug changes.