On 29 April 2016 at 08:06, Jussi Kukkonen <jussi.kukko...@intel.com> wrote:
> This still has all the problems that the new API would allow us to > fix: mainly that multiple displays will almost certainly not work > at all. > screenshot-utils.c: In function 'screenshot_grab_lock': screenshot-utils.c:251:3: warning: 'gdk_pointer_grab' is deprecated: Use 'gdk_device_grab' instead [-Wdeprecated-declarations] gdk_pointer_grab (gtk_widget_get_window (selection_window), FALSE, 0, NULL, ^ In file included from /usr/include/gtk-3.0/gdk/gdk.h:47:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from screenshot-utils.h:4, from screenshot-utils.c:2: /usr/include/gtk-3.0/gdk/gdkmain.h:86:15: note: declared here GdkGrabStatus gdk_pointer_grab (GdkWindow *window, ^ screenshot-utils.c:253:3: warning: 'gdk_cursor_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_cursor_unref (cursor); ^ In file included from /usr/include/gtk-3.0/gdk/gdk.h:34:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from screenshot-utils.h:4, from screenshot-utils.c:2: /usr/include/gtk-3.0/gdk/gdkcursor.h:247:13: note: declared here void gdk_cursor_unref (GdkCursor *cursor); ^ screenshot-utils.c: In function 'get_text_property': screenshot-utils.c:121:3: warning: ignoring return value of 'gdk_error_trap_pop', declared with attribute warn_unused_result [-Wunused-result] gdk_error_trap_pop (); ^ CC screenshot-ui.lo screenshot-ui.c: In function 'screenshot': screenshot-ui.c:49:46: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, ^ screenshot-ui.c:50:46: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, ^ The stock ones look easy to fix, the device ones less so so unless I'm wrong we can leave those for now. Ross
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto