configure: WARNING: unrecognized options: --with-gtk
configure: WARNING: unrecognized options: --with-gtk
main.c: In function ‘main’:
main.c:74:3: warning: ‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations]
74 | application = g_application_new ("com.canonical.Maximus", G_APPLICATION_FLAGS_NONE);
| ^~~~~~~~~~~
In file included from /usr/include/glib-2.0/gio/giotypes.h:30,
from /usr/include/glib-2.0/gio/gio.h:28,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from main.c:27:
/usr/include/glib-2.0/gio/gioenums.h:1563:3: note: declared here
1563 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
| ^~~~~~~~~~~~~~~~~~~~~~~~
maximus-app.c:209:1: warning: no previous prototype for ‘window_is_too_large_for_screen’ [-Wmissing-prototypes]
209 | window_is_too_large_for_screen (WnckWindow *window)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
maximus-app.c: In function ‘maximus_app_init’:
maximus-app.c:532:3: warning: ‘wnck_screen_get_default’ is deprecated: Use 'wnck_handle_get_default_screen' instead [-Wdeprecated-declarations]
532 | priv->screen = screen = wnck_screen_get_default ();
| ^~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from maximus-app.h:27,
from maximus-app.c:29:
/usr/include/libwnck-3.0/libwnck/screen.h:200:16: note: declared here
200 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
maximus-bind.c: In function ‘maximus_bind_init’:
maximus-bind.c:464:3: warning: ‘wnck_screen_get_default’ is deprecated: Use 'wnck_handle_get_default_screen' instead [-Wdeprecated-declarations]
464 | priv->screen = screen = wnck_screen_get_default ();
| ^~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from maximus-bind.c:32:
/usr/include/libwnck-3.0/libwnck/screen.h:200:16: note: declared here
200 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
applet.c: In function ‘force_no_focus_padding’:
applet.c:130:5: warning: ‘gtk_rc_parse_string’ is deprecated: Use 'GtkStyleContext' instead [-Wdeprecated-declarations]
130 | gtk_rc_parse_string ("\n"
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:273,
from applet.c:30:
/usr/include/gtk-3.0/gtk/deprecated/gtkrc.h:196:11: note: declared here
196 | void gtk_rc_parse_string (const gchar *rc_string);
| ^~~~~~~~~~~~~~~~~~~
applet.c: In function ‘cw_applet_fill’:
applet.c:172:3: warning: ‘wnck_set_client_type’ is deprecated: Use 'wnck_handle_new' instead [-Wdeprecated-declarations]
172 | wnck_set_client_type (WNCK_CLIENT_TYPE_PAGER);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libwnck-3.0/libwnck/util.h:30,
from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:27,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from applet.c:33:
/usr/include/libwnck-3.0/libwnck/misc.h:50:6: note: declared here
50 | void wnck_set_client_type (WnckClientType ewmh_sourceindication_client_type);
| ^~~~~~~~~~~~~~~~~~~~
applet.c:210:3: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations]
210 | action_group = gtk_action_group_new ("MateWindowPicker Applet Actions");
| ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:254:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
applet.c:211:3: warning: ‘gtk_action_group_set_translation_domain’ is deprecated [-Wdeprecated-declarations]
211 | gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here
252 | void gtk_action_group_set_translation_domain (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
applet.c:212:3: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations]
212 | gtk_action_group_add_actions (action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here
210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
task-item.c:38:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
38 | GTimeVal urgent_time;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from task-item.h:25,
from task-item.c:21:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
task-item.c: In function ‘task_item_draw’:
task-item.c:280:3: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations]
280 | cr = gdk_cairo_create (gtk_widget_get_window (widget));
| ^~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:33,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from task-item.h:26:
/usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here
35 | cairo_t * gdk_cairo_create (GdkWindow *window);
| ^~~~~~~~~~~~~~~~
task-item.c:368:5: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
368 | GTimeVal current_time;
| ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
task-item.c:369:5: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
369 | g_get_current_time (¤t_time);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
from /usr/include/glib-2.0/glib.h:56:
/usr/include/glib-2.0/glib/gmain.h:828:8: note: declared here
828 | void g_get_current_time (GTimeVal *result);
| ^~~~~~~~~~~~~~~~~~
task-item.c: In function ‘on_button_pressed’:
task-item.c:425:5: 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]
425 | gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL,
| ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here
138 | void gtk_menu_popup (GtkMenu *menu,
| ^~~~~~~~~~~~~~
task-item.c: In function ‘on_window_state_changed’:
task-item.c:507:5: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
507 | g_get_current_time (&priv->urgent_time);
| ^~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:828:8: note: declared here
828 | void g_get_current_time (GTimeVal *result);
| ^~~~~~~~~~~~~~~~~~
task-title.c: In function ‘on_button_draw’:
task-title.c:178:5: warning: ‘gtk_widget_get_style’ is deprecated: Use 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations]
178 | GtkStyle *style = gtk_widget_get_style (widget);
| ^~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:277,
from task-title.h:26,
from task-title.c:21:
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:742:13: note: declared here
742 | GtkStyle * gtk_widget_get_style (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~
task-title.c:187:5: warning: ‘gtk_paint_box’ is deprecated: Use 'GtkStyleContext and gtk_render_frame' instead [-Wdeprecated-declarations]
187 | gtk_paint_box (style,
| ^~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:535:6: note: declared here
535 | void gtk_paint_box (GtkStyle *style,
| ^~~~~~~~~~~~~
task-title.c: In function ‘task_title_init’:
task-title.c:555:3: warning: ‘wnck_screen_get_default’ is deprecated: Use 'wnck_handle_get_default_screen' instead [-Wdeprecated-declarations]
555 | priv->screen = wnck_screen_get_default ();
| ^~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from task-title.c:24:
/usr/include/libwnck-3.0/libwnck/screen.h:200:16: note: declared here
200 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
task-title.c:564:3: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations]
564 | priv->align = gtk_alignment_new (0.0, 0.5, 1.0, 1.0);
| ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
task-title.c:565:3: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations]
565 | gtk_alignment_set_padding (GTK_ALIGNMENT (priv->align),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
91 | void gtk_alignment_set_padding (GtkAlignment *alignment,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
task-list.c: In function ‘task_list_init’:
task-list.c:163:3: warning: ‘wnck_screen_get_default’ is deprecated: Use 'wnck_handle_get_default_screen' instead [-Wdeprecated-declarations]
163 | priv->screen = wnck_screen_get_default ();
| ^~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from task-item.h:28,
from task-list.c:22:
/usr/include/libwnck-3.0/libwnck/screen.h:200:16: note: declared here
200 | WnckScreen* wnck_screen_get_default (void);
| ^~~~~~~~~~~~~~~~~~~~~~~