+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/clipit-1.4.5nb13/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/clipit-1.4.5nb13/work.log ===> Building for clipit-1.4.5nb13 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5' Making all in data gmake[2]: Entering directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/data' LC_ALL=C /home/pbulk/build/x11/clipit/work/.tools/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po clipit-startup.desktop.in clipit-startup.desktop LC_ALL=C /home/pbulk/build/x11/clipit/work/.tools/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po clipit.desktop.in clipit.desktop Generating and caching the translation database Merging translations into clipit.desktop. Generating and caching the translation database Merging translations into clipit-startup.desktop. gmake[2]: Leaving directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/data' Making all in doc gmake[2]: Entering directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/doc' Making all in src gmake[2]: Entering directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT history.o -MD -MP -MF .deps/history.Tpo -c -o history.o history.c history.c: In function 'is_excluded': history.c:69:24: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 69 | size_t fread_return; | ^~~~~~~~~~~~ history.c: In function 'read_history': history.c:107:24: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 107 | size_t fread_return; | ^~~~~~~~~~~~ main.c: In function 'show_about_dialog': main.c:388:25: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 388 | gtk_widget_render_icon_pixbuf(about_dialog, GTK_STOCK_ABOUT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkapplication.h:27, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwindow.h:33, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkdialog.h:32, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:31, from main.c:31: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:388:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 388 | gtk_widget_render_icon_pixbuf(about_dialog, GTK_STOCK_ABOUT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:425:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 425 | gtk_about_dialog_set_logo_icon_name((GtkAboutDialog*)about_dialog, GTK_STOCK_PASTE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'show_actions_menu': main.c:465:3: warning: 'gtk_image_menu_item_new_with_label' is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] 465 | menu_item = gtk_image_menu_item_new_with_label(_("Actions using:")); | ^~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:269: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:466:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 466 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkentry.h:42, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtktreeview.h:29, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcombobox.h:27, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:42: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:466:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 466 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:467:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 467 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:510:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 510 | size_t fread_return; | ^~~~~~~~~~~~ main.c:557:3: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] 557 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Edit actions")); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:558:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 558 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:558:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 558 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:559:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 559 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:564:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 564 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtklabel.h:34, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:33: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c: In function 'underline_match': main.c:619:29: error: passing argument 1 of 'gtk_label_set_attributes' from incompatible pointer type [-Wincompatible-pointer-types] 619 | gtk_label_set_attributes (gtk_label, attr_list); | ^~~~~~~~~ | | | GtkWidget * {aka struct _GtkWidget *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtklabel.h:100:67: note: expected 'GtkLabel *' {aka 'struct _GtkLabel *'} but argument is of type 'GtkWidget *' {aka 'struct _GtkWidget *'} 100 | void gtk_label_set_attributes (GtkLabel *label, | ~~~~~~~~~~~~~~~^~~~~ main.c: In function 'selected_by_input': main.c:642:47: error: passing argument 1 of 'gtk_container_get_children' from incompatible pointer type [-Wincompatible-pointer-types] 642 | GList* element = gtk_container_get_children(menu); | ^~~~ | | | GtkMenuShell * {aka struct _GtkMenuShell *} In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkbin.h:33, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwindow.h:35: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcontainer.h:169:62: note: expected 'GtkContainer *' {aka 'struct _GtkContainer *'} but argument is of type 'GtkMenuShell *' {aka 'struct _GtkMenuShell *'} 169 | GList* gtk_container_get_children (GtkContainer *container); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ main.c:661:32: error: passing argument 1 of 'gtk_widget_set_sensitive' from incompatible pointer type [-Wincompatible-pointer-types] 661 | gtk_widget_set_sensitive(menu_item, true); | ^~~~~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwidget.h:840:72: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkMenuItem *' {aka 'struct _GtkMenuItem *'} 840 | void gtk_widget_set_sensitive (GtkWidget *widget, | ~~~~~~~~~~~~~~^~~~~~ main.c:663:32: error: passing argument 1 of 'gtk_widget_set_sensitive' from incompatible pointer type [-Wincompatible-pointer-types] 663 | gtk_widget_set_sensitive(menu_item, false); | ^~~~~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwidget.h:840:72: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkMenuItem *' {aka 'struct _GtkMenuItem *'} 840 | void gtk_widget_set_sensitive (GtkWidget *widget, | ~~~~~~~~~~~~~~^~~~~~ main.c:671:42: error: passing argument 2 of 'gtk_menu_shell_select_item' from incompatible pointer type [-Wincompatible-pointer-types] 671 | gtk_menu_shell_select_item(menu, first_match); | ^~~~~~~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem *} In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkmenu.h:33: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkmenushell.h:104:55: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkMenuItem *' {aka 'struct _GtkMenuItem *'} 104 | GtkWidget *menu_item); | ~~~~~~~~~~~~~~^~~~~~~~~ main.c: In function 'selected_by_digit': main.c:723:28: warning: passing argument 1 of 'gtk_widget_destroy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 723 | gtk_widget_destroy(history_menu); | ^~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwidget.h:619:65: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'const GtkWidget *' {aka 'const struct _GtkWidget *'} 619 | void gtk_widget_destroy (GtkWidget *widget); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ main.c: In function 'toggle_offline_mode': main.c:740:3: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations] 740 | gtk_status_icon_set_from_icon_name(status_icon, prefs.offline_mode ? ICON_OFFLINE : ICON); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:275: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: declared here 106 | void gtk_status_icon_set_from_icon_name (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'show_history_menu': main.c:901:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 901 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c: In function 'create_tray_menu': main.c:929:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 929 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:929:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 929 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); | ^~~~~~~~~ main.c:933:17: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] 933 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Manage history")); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:934:17: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 934 | menu_image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:934:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 934 | menu_image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:935:17: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 935 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:939:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 939 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:939:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 939 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); | ^~~~~~~~~ main.c:943:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 943 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:943:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 943 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); | ^~~~~~~~~ main.c: In function 'show_clipit_menu': main.c:981:9: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 981 | gtk_menu_popup((GtkMenu*)statusicon_menu, NULL, NULL, gtk_status_icon_position_menu, status_icon, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c:981:9: warning: 'gtk_status_icon_position_menu' is deprecated [-Wdeprecated-declarations] 981 | gtk_menu_popup((GtkMenu*)statusicon_menu, NULL, NULL, gtk_status_icon_position_menu, status_icon, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:160:23: note: declared here 160 | void gtk_status_icon_position_menu (GtkMenu *menu, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'clipit_init': main.c:1076:9: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations] 1076 | status_icon = gtk_status_icon_new_from_icon_name(ICON); | ^~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:92:23: note: declared here 92 | GtkStatusIcon *gtk_status_icon_new_from_icon_name (const gchar *icon_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1077:9: warning: 'gtk_status_icon_set_tooltip_text' is deprecated [-Wdeprecated-declarations] 1077 | gtk_status_icon_set_tooltip_text((GtkStatusIcon*)status_icon, _("Clipboard Manager")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here 137 | void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:1085:9: error: implicit declaration of function 'umask' [-Wimplicit-function-declaration] 1085 | umask(0077); | ^~~~~ mv -f .deps/utils.Tpo .deps/utils.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT keybinder.o -MD -MP -MF .deps/keybinder.Tpo -c -o keybinder.o keybinder.c mv -f .deps/daemon.Tpo .deps/daemon.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/cairo -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/fribidi -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/gio-unix-2.0 -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -Wall -g -DCLIPITLOCALEDIR=\""/opt/pkg/share/locale"\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT preferences.o -MD -MP -MF .deps/preferences.Tpo -c -o preferences.o preferences.c main.c:1141:9: error: implicit declaration of function 'init_history_timeout_timer' [-Wimplicit-function-declaration] 1141 | init_history_timeout_timer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:451: main.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f .deps/history.Tpo .deps/history.Po preferences.c: In function 'read_actions': preferences.c:324:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 324 | size_t fread_return; | ^~~~~~~~~~~~ preferences.c: In function 'read_excludes': preferences.c:596:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 596 | size_t fread_return; | ^~~~~~~~~~~~ preferences.c: In function 'show_preferences': preferences.c:732:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 732 | GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, | ^~~~~~~~~~~~~~~~ preferences.c:733:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 733 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); | ^~~~~~~~~~~~ preferences.c:735:3: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 735 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkapplication.h:27, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwindow.h:33, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkdialog.h:32, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:31, from preferences.c:24: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:735:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 735 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ preferences.c:747:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 747 | GtkWidget* page_settings = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:255: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:748:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 748 | gtk_alignment_set_padding((GtkAlignment*)page_settings, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:759:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 759 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:760:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 760 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:783:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 783 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:784:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 784 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:803:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 803 | GtkWidget* page_history = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:804:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 804 | gtk_alignment_set_padding((GtkAlignment*)page_history, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:815:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 815 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:816:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 816 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:826:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 826 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtklabel.h:32, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:33: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:828:14: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GtkAdjustment *' {aka 'struct _GtkAdjustment *'} [-Wincompatible-pointer-types] 828 | adjustment = gtk_adjustment_new(25, 5, 1000, 1, 10, 0); | ^ preferences.c:835:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 835 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:837:20: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GtkAdjustment *' {aka 'struct _GtkAdjustment *'} [-Wincompatible-pointer-types] 837 | adjustment_small = gtk_adjustment_new(25, 5, 100, 1, 10, 0); | ^ preferences.c:847:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 847 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:849:22: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GtkAdjustment *' {aka 'struct _GtkAdjustment *'} [-Wincompatible-pointer-types] 849 | adjustment_statics = gtk_adjustment_new(10, 1, 100, 1, 10, 0); | ^ preferences.c:861:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 861 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:863:20: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GtkAdjustment *' {aka 'struct _GtkAdjustment *'} [-Wincompatible-pointer-types] 863 | adjustment_small = gtk_adjustment_new(0, 1, 100, 1, 10, 0); | ^ preferences.c:877:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 877 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:878:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 878 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:889:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 889 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:891:14: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from incompatible pointer type 'GtkAdjustment *' {aka 'struct _GtkAdjustment *'} [-Wincompatible-pointer-types] 891 | adjustment = gtk_adjustment_new(50, 25, 75, 1, 5, 0); | ^ preferences.c:898:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 898 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:901:34: error: passing argument 1 of 'gtk_combo_box_text_append_text' from incompatible pointer type [-Wincompatible-pointer-types] 901 | gtk_combo_box_text_append_text((GtkComboBox*)ellipsize_combo, _("Beginning")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | GtkComboBox * {aka struct _GtkComboBox *} In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:80: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ preferences.c:902:34: error: passing argument 1 of 'gtk_combo_box_text_append_text' from incompatible pointer type [-Wincompatible-pointer-types] 902 | gtk_combo_box_text_append_text((GtkComboBox*)ellipsize_combo, _("Middle")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | GtkComboBox * {aka struct _GtkComboBox *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ preferences.c:903:34: error: passing argument 1 of 'gtk_combo_box_text_append_text' from incompatible pointer type [-Wincompatible-pointer-types] 903 | gtk_combo_box_text_append_text((GtkComboBox*)ellipsize_combo, _("End")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | GtkComboBox * {aka struct _GtkComboBox *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcomboboxtext.h:67:72: note: expected 'GtkComboBoxText *' {aka 'struct _GtkComboBoxText *'} but argument is of type 'GtkComboBox *' {aka 'struct _GtkComboBox *'} 67 | void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ preferences.c:931:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 931 | GtkWidget* page_actions = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:932:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 932 | gtk_alignment_set_padding((GtkAlignment*)page_actions, 6, 6, 6, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:940:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 940 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:952:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 952 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkcombobox.h:27, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:42: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:977:3: warning: 'gtk_hbutton_box_new' is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 977 | GtkWidget* hbbox = gtk_hbutton_box_new(); | ^~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtk.h:261: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ preferences.c:981:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 981 | gtk_button_set_image((GtkButton*)add_button, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkentry.h:42, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtktreeview.h:29: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:981:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 981 | gtk_button_set_image((GtkButton*)add_button, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:985:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 985 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:985:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 985 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:989:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 989 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:989:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 989 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:993:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 993 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:993:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 993 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:999:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 999 | GtkWidget* page_exclude = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1000:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1000 | gtk_alignment_set_padding((GtkAlignment*)page_exclude, 6, 6, 6, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1008:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1008 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1020:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 1020 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview_exclude, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1038:3: warning: 'gtk_hbutton_box_new' is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 1038 | GtkWidget* hbbox_exclude = gtk_hbutton_box_new(); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ preferences.c:1042:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1042 | gtk_button_set_image((GtkButton*)add_button_exclude, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1042:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1042 | gtk_button_set_image((GtkButton*)add_button_exclude, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:1046:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1046 | gtk_button_set_image((GtkButton*)remove_button_exclude, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1046:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1046 | gtk_button_set_image((GtkButton*)remove_button_exclude, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:1054:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1054 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.0); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1065:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1065 | GtkWidget* page_extras = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1066:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1066 | gtk_alignment_set_padding((GtkAlignment*)page_extras, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1077:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1077 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1078:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1078 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1086:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1086 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1095:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1095 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1104:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1104 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1113:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1113 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1122:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1122 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ keybinder.c: In function 'do_grab_key': keybinder.c:105:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 105 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdk.h:48, from keybinder.c:20: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ keybinder.c:134:9: warning: 'gdk_error_trap_push' is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations] 134 | gdk_error_trap_push (); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdk.h:50: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here 70 | void gdk_error_trap_push (void); | ^~~~~~~~~~~~~~~~~~~ keybinder.c:140:9: warning: 'gdk_flush' is deprecated: Use 'gdk_display_flush' instead [-Wdeprecated-declarations] 140 | gdk_flush (); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkmain.h:124:6: note: declared here 124 | void gdk_flush (void); | ^~~~~~~~~ keybinder.c:142:9: warning: 'gdk_error_trap_pop' is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations] 142 | if (gdk_error_trap_pop ()) { | ^~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here 73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void); | ^~~~~~~~~~~~~~~~~~ keybinder.c: In function 'keymap_changed': keybinder.c:218:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 218 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ keybinder.c: In function 'keybinder_init': keybinder.c:239:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 239 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkx.h:43, from keybinder.c:22: keybinder.c: In function 'keybinder_is_modifier': keybinder.c:313:33: error: passing argument 1 of 'gdk_window_get_display' from incompatible pointer type [-Wincompatible-pointer-types] 313 | GDK_WINDOW_XDISPLAY(gdk_display_get_default())); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | GdkDisplay * {aka struct _GdkDisplay *} /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/x11/gdkx11display.h:59:70: note: in definition of macro 'GDK_DISPLAY_XDISPLAY' 59 | #define GDK_DISPLAY_XDISPLAY(display) (gdk_x11_display_get_xdisplay (display)) | ^~~~~~~ keybinder.c:313:13: note: in expansion of macro 'GDK_WINDOW_XDISPLAY' 313 | GDK_WINDOW_XDISPLAY(gdk_display_get_default())); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkseat.h:28, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkdisplay.h:33, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkscreen.h:32, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdk.h:32: /home/pbulk/build/x11/clipit/work/.buildlink/include/gtk-3.0/gdk/gdkwindow.h:525:64: note: expected 'GdkWindow *' {aka 'struct _GdkWindow *'} but argument is of type 'GdkDisplay *' {aka 'struct _GdkDisplay *'} 525 | GdkDisplay * gdk_window_get_display (GdkWindow *window); | ~~~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [Makefile:451: preferences.o] Error 1 gmake[2]: *** [Makefile:451: keybinder.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5/src' gmake[1]: *** [Makefile:446: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/x11/clipit/work/ClipIt-1.4.5' gmake: *** [Makefile:387: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/clipit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/clipit