[Bug 764964] New: Build fails because gdk_display_get_device_manager is deprecated
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Apr 12 19:48:20 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764964
Bug ID: 764964
Summary: Build fails because gdk_display_get_device_manager is
deprecated
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-devtools
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: alexandru.balut at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 325820
--> https://bugzilla.gnome.org/attachment.cgi?id=325820&action=edit
Use the new suggested method - which has been added in 3.20!
make[3]: Entering directory
'/home/aleb/dev/pitivi/gst-devtools/validate/plugins/gtk'
CC libgstvalidategtk_la-gstvalidategtk.lo
gstvalidategtk.c: In function ‘get_device’:
gstvalidategtk.c:85:3: error: ‘gdk_display_get_device_manager’ is deprecated:
Use 'gdk_display_get_default_seat' instead [-Werror=deprecated-declarations]
dev_manager = gdk_display_get_device_manager (gdk_display_get_default ());
^
In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from gstvalidategtk.c:31:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:170:20: note: declared here
GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
^
gstvalidategtk.c:87:7: error: ‘gdk_device_manager_list_devices’ is deprecated
[-Werror=deprecated-declarations]
gdk_device_manager_list_devices (dev_manager, GDK_DEVICE_TYPE_MASTER);
^
In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0,
from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from gstvalidategtk.c:31:
/usr/include/gtk-3.0/gdk/gdkdevicemanager.h:41:14: note: declared here
GList * gdk_device_manager_list_devices (GdkDeviceManager
*device_manager,
^
cc1: all warnings being treated as errors
Makefile:603: recipe for target 'libgstvalidategtk_la-gstvalidategtk.lo' failed
make[3]: *** [libgstvalidategtk_la-gstvalidategtk.lo] Error 1
make[3]: Leaving directory
'/home/aleb/dev/pitivi/gst-devtools/validate/plugins/gtk'
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list