panel-run-dialog.c: In function 'panel_run_dialog_destroy':
panel-run-dialog.c:208:3: warning: 'g_completion_free' is deprecated [-Wdeprecated-declarations]
208 | g_completion_free (dialog->completion);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from panel-run-dialog.h:26,
from panel-run-dialog.c:31:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:79:14: note: declared here
79 | void g_completion_free (GCompletion* cmp);
| ^~~~~~~~~~~~~~~~~
panel-run-dialog.c: In function 'panel_run_dialog_launch_command':
panel-run-dialog.c:474:2: warning: 'gdk_screen_make_display_name' is deprecated [-Wdeprecated-declarations]
474 | display = gdk_screen_make_display_name (screen);
| ^~~~~~~
In file included 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 panel-run-dialog.h:26,
from panel-run-dialog.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:71:14: note: declared here
71 | gchar * gdk_screen_make_display_name (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-run-dialog.c: In function 'get_all_applications_from_alias':
panel-run-dialog.c:834:2: warning: enumeration value 'GMENU_TREE_ITEM_INVALID' not handled in switch [-Wswitch-enum]
834 | switch (gmenu_tree_alias_get_aliased_item_type (alias)) {
| ^~~~~~
panel-run-dialog.c:834:2: warning: enumeration value 'GMENU_TREE_ITEM_SEPARATOR' not handled in switch [-Wswitch-enum]
panel-run-dialog.c:834:2: warning: enumeration value 'GMENU_TREE_ITEM_HEADER' not handled in switch [-Wswitch-enum]
panel-run-dialog.c:834:2: warning: enumeration value 'GMENU_TREE_ITEM_ALIAS' not handled in switch [-Wswitch-enum]
panel-run-dialog.c: In function 'get_all_applications_from_dir':
panel-run-dialog.c:864:3: warning: enumeration value 'GMENU_TREE_ITEM_INVALID' not handled in switch [-Wswitch-enum]
864 | switch (next_type) {
| ^~~~~~
panel-run-dialog.c:864:3: warning: enumeration value 'GMENU_TREE_ITEM_SEPARATOR' not handled in switch [-Wswitch-enum]
panel-run-dialog.c:864:3: warning: enumeration value 'GMENU_TREE_ITEM_HEADER' not handled in switch [-Wswitch-enum]
panel-run-dialog.c: In function 'panel_run_dialog_update_completion':
panel-run-dialog.c:1455:3: warning: 'g_completion_new' is deprecated [-Wdeprecated-declarations]
1455 | dialog->completion = g_completion_new (NULL);
| ^~~~~~
In file included from /usr/include/glib-2.0/glib.h:108,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from panel-run-dialog.h:26,
from panel-run-dialog.c:31:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:58:14: note: declared here
58 | GCompletion* g_completion_new (GCompletionFunc func);
| ^~~~~~~~~~~~~~~~
panel-run-dialog.c:1505:2: warning: 'g_completion_add_items' is deprecated [-Wdeprecated-declarations]
1505 | g_completion_add_items (dialog->completion, list);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from panel-run-dialog.h:26,
from panel-run-dialog.c:31:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:60:14: note: declared here
60 | void g_completion_add_items (GCompletion* cmp,
| ^~~~~~~~~~~~~~~~~~~~~~
panel-run-dialog.c: In function 'entry_event':
panel-run-dialog.c:1542:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
1542 | tmp == strlen (gtk_entry_get_text (GTK_ENTRY (entry)))) {
| ^~
panel-run-dialog.c:1555:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
1555 | tmp == strlen (gtk_entry_get_text (GTK_ENTRY (entry)))) {
| ^~
panel-run-dialog.c:1560:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
1560 | tmp == strlen (gtk_entry_get_text (GTK_ENTRY (entry)))) {
| ^~
panel-run-dialog.c:1584:3: warning: 'g_completion_complete_utf8' is deprecated [-Wdeprecated-declarations]
1584 | g_completion_complete_utf8 (dialog->completion, nospace_prefix,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from panel-run-dialog.h:26,
from panel-run-dialog.c:31:
/usr/include/glib-2.0/glib/deprecated/gcompletion.h:72:14: note: declared here
72 | GList* g_completion_complete_utf8 (GCompletion *cmp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
panel-struts.c: In function 'panel_struts_allocation_overlapped':
panel-struts.c:155:3: warning: enumeration value 'PANEL_ORIENTATION_RIGHT' not handled in switch [-Wswitch-enum]
155 | switch (overlap->orientation) {
| ^~~~~~
panel-struts.c:155:3: warning: enumeration value 'PANEL_ORIENTATION_LEFT' not handled in switch [-Wswitch-enum]
panel-struts.c: In function 'panel_struts_set_window_hint':
panel-struts.c:269:2: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
269 | screen_width = gdk_screen_get_width (strut->screen);
| ^~~~~~~~~~~~
In file included 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 panel-toplevel.h:26,
from panel-struts.h:25,
from panel-struts.c:24:
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
58 | gint gdk_screen_get_width (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~
panel-struts.c:270:2: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
270 | screen_height = gdk_screen_get_height (strut->screen);
| ^~~~~~~~~~~~~
In file included 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 panel-toplevel.h:26,
from panel-struts.h:25,
from panel-struts.c:24:
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-struts.c: In function 'panel_struts_compare':
panel-struts.c:358:3: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
358 | return gdk_screen_get_number (s1->screen) -
| ^~~~~~
In file included 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 panel-toplevel.h:26,
from panel-struts.h:25,
from panel-struts.c:24:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-struts.c:359:4: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
359 | gdk_screen_get_number (s2->screen);
| ^~~~~~~~~~~~~~~~~~~~~
In file included 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 panel-toplevel.h:26,
from panel-struts.h:25,
from panel-struts.c:24:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-struts.c: In function 'panel_struts_register_strut':
panel-struts.c:415:2: warning: switch missing default case [-Wswitch-default]
415 | switch (strut->orientation) {
| ^~~~~~
panel-toplevel.c: In function 'panel_toplevel_get_screen_geometry':
panel-toplevel.c:409:2: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
409 | *width = gdk_screen_get_width (screen);
| ^
In file included 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 panel-toplevel.h:26,
from panel-toplevel.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
58 | gint gdk_screen_get_width (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~
panel-toplevel.c:410:2: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
410 | *height = gdk_screen_get_height (screen);
| ^
In file included 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 panel-toplevel.h:26,
from panel-toplevel.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-toplevel.c: In function 'panel_toplevel_handle_grab_op_key_event':
panel-toplevel.c:1148:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
1148 | panel_toplevel_cancel_grab_op (toplevel, event->time);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-toplevel.c:1149:2: note: here
1149 | case GDK_KEY_Return: /* drop through*/
| ^~~~
panel-multiscreen.c: In function 'panel_multiscreen_get_randr_monitors_for_screen':
panel-multiscreen.c:95:22: warning: declaration of 'geometries' shadows a global declaration [-Wshadow]
95 | GArray *geometries;
| ^~~~~~~~~~
panel-multiscreen.c:39:23: note: shadowed declaration is here
39 | static GdkRectangle **geometries = NULL;
| ^~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_get_gdk_monitors_for_screen':
panel-multiscreen.c:223:16: warning: declaration of 'geometries' shadows a global declaration [-Wshadow]
223 | GdkRectangle *geometries;
| ^~~~~~~~~~
panel-multiscreen.c:39:23: note: shadowed declaration is here
39 | static GdkRectangle **geometries = NULL;
| ^~~~~~~~~~
panel-multiscreen.c:226:2: warning: 'gdk_screen_get_n_monitors' is deprecated: Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations]
226 | num_monitors = gdk_screen_get_n_monitors (screen);
| ^~~~~~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here
74 | gint gdk_screen_get_n_monitors (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c:230:3: warning: 'gdk_screen_get_monitor_geometry' is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations]
230 | gdk_screen_get_monitor_geometry (screen, i, &(geometries[i]));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here
78 | void gdk_screen_get_monitor_geometry (GdkScreen *screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_compress_overlapping_monitors':
panel-multiscreen.c:275:16: warning: declaration of 'geometries' shadows a global declaration [-Wshadow]
275 | GdkRectangle *geometries;
| ^~~~~~~~~~
panel-multiscreen.c:39:23: note: shadowed declaration is here
39 | static GdkRectangle **geometries = NULL;
| ^~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_init':
panel-multiscreen.c:440:3: warning: 'gdk_display_get_screen' is deprecated [-Wdeprecated-declarations]
440 | screen = gdk_display_get_screen (display, i);
| ^~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:56:13: note: declared here
56 | GdkScreen * gdk_display_get_screen (GdkDisplay *display,
| ^~~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_monitors':
panel-multiscreen.c:501:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
501 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_x':
panel-multiscreen.c:514:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
514 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_y':
panel-multiscreen.c:528:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
528 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_width':
panel-multiscreen.c:542:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
542 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_height':
panel-multiscreen.c:556:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
556 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_get_monitor_at_point':
panel-multiscreen.c:608:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
608 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-multiscreen.c: In function 'panel_multiscreen_is_at_visible_extreme':
panel-multiscreen.c:673:2: warning: 'gdk_screen_get_number' is deprecated [-Wdeprecated-declarations]
673 | n_screen = gdk_screen_get_number (screen);
| ^~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-multiscreen.c:31:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from panel-lockdown.c:26:
panel-lockdown.c: In function 'panel_lockdown_constructor':
panel-schemas.h:14:47: warning: passing argument 2 of '_panel_lockdown_disabled_applets_changed' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
14 | #define PANEL_LOCKDOWN_DISABLED_APPLETS_KEY "disabled-applets"
| ^~~~~~~~~~~~~~~~~~
panel-lockdown.c:128:51: note: in expansion of macro 'PANEL_LOCKDOWN_DISABLED_APPLETS_KEY'
128 | PANEL_LOCKDOWN_DISABLED_APPLETS_KEY,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-lockdown.c:60:58: note: expected 'char *' but argument is of type 'const char *'
60 | char *key,
| ~~~~~~~~~~~~~~~^~~
panel-bindings.c: In function 'panel_binding_set_from_string':
panel-bindings.c:69:35: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
69 | g_slist_foreach (binding->list, (GFunc)g_free, NULL);
| ^
panel-bindings.c: In function 'panel_binding_clear_entry':
panel-bindings.c:121:34: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
121 | g_slist_foreach (binding->list, (GFunc)g_free, NULL);
| ^
panel-force-quit.c: In function 'display_popup_window':
panel-force-quit.c:84:2: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
84 | screen_width = gdk_screen_get_width (screen);
| ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
58 | gint gdk_screen_get_width (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~
panel-force-quit.c:85:2: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
85 | screen_height = gdk_screen_get_height (screen);
| ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-force-quit.c: In function 'remove_popup':
panel-force-quit.c:114:2: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
114 | device_manager = gdk_display_get_device_manager (display);
| ^~~~~~~~~~~~~~
In file included 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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here
171 | GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-force-quit.c:115:2: warning: 'gdk_device_manager_get_client_pointer' is deprecated [-Wdeprecated-declarations]
115 | pointer = gdk_device_manager_get_client_pointer (device_manager);
| ^~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here
44 | GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-force-quit.c:118:2: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations]
118 | gdk_device_ungrab (pointer, GDK_CURRENT_TIME);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here
239 | void gdk_device_ungrab (GdkDevice *device,
| ^~~~~~~~~~~~~~~~~
panel-force-quit.c:119:2: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations]
119 | gdk_device_ungrab (keyboard, GDK_CURRENT_TIME);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here
239 | void gdk_device_ungrab (GdkDevice *device,
| ^~~~~~~~~~~~~~~~~
panel-force-quit.c: In function 'wm_state_set':
panel-force-quit.c:133:2: warning: 'gdk_error_trap_push' is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations]
133 | gdk_error_trap_push ();
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here
70 | void gdk_error_trap_push (void);
| ^~~~~~~~~~~~~~~~~~~
panel-force-quit.c:139:2: warning: 'gdk_error_trap_pop' is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations]
139 | if (gdk_error_trap_pop ())
| ^~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here
73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void);
| ^~~~~~~~~~~~~~~~~~
panel-force-quit.c: In function 'find_managed_window':
panel-force-quit.c:167:2: warning: 'gdk_error_trap_push' is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations]
167 | gdk_error_trap_push ();
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here
70 | void gdk_error_trap_push (void);
| ^~~~~~~~~~~~~~~~~~~
panel-force-quit.c:169:2: warning: 'gdk_error_trap_pop' is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations]
169 | if (gdk_error_trap_pop () || !result)
| ^~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here
73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void);
| ^~~~~~~~~~~~~~~~~~
panel-force-quit.c:174:16: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare]
174 | for (i = 0; i < nkids; i++) {
| ^
panel-force-quit.c: In function 'popup_filter':
panel-force-quit.c:293:3: warning: switch missing default case [-Wswitch-default]
293 | switch (xiev->evtype) {
| ^~~~~~
panel-force-quit.c: In function 'panel_force_quit':
panel-force-quit.c:335:2: warning: 'gdk_display_get_device_manager' is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
335 | device_manager = gdk_display_get_device_manager (display);
| ^~~~~~~~~~~~~~
In file included 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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here
171 | GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-force-quit.c:336:2: warning: 'gdk_device_manager_get_client_pointer' is deprecated [-Wdeprecated-declarations]
336 | pointer = gdk_device_manager_get_client_pointer (device_manager);
| ^~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here
44 | GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-force-quit.c:339:2: warning: 'gdk_device_grab' is deprecated: Use 'gdk_seat_grab' instead [-Wdeprecated-declarations]
339 | status = gdk_device_grab (pointer, root,
| ^~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevice.h:230:15: note: declared here
230 | GdkGrabStatus gdk_device_grab (GdkDevice *device,
| ^~~~~~~~~~~~~~~
panel-force-quit.c:352:2: warning: 'gdk_device_grab' is deprecated: Use 'gdk_seat_grab' instead [-Wdeprecated-declarations]
352 | status = gdk_device_grab (keyboard, root,
| ^~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33,
from /usr/include/gtk-3.0/gdk/gdkevents.h:34,
from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31,
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 panel-force-quit.h:26,
from panel-force-quit.c:25:
/usr/include/gtk-3.0/gdk/gdkdevice.h:230:15: note: declared here
230 | GdkGrabStatus gdk_device_grab (GdkDevice *device,
| ^~~~~~~~~~~~~~~
panel-addto-dialog.c: In function 'panel_addto_setup_drag':
panel-addto-dialog.c:232:11: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, GClosure *)' {aka 'void (*)(void *, struct _GClosure *)'} [-Wcast-function-type]
232 | (GClosureNotify) g_free,
| ^
panel-addto-dialog.c: In function 'panel_addto_present':
panel-addto-dialog.c:1250:2: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
1250 | screen_height = gdk_screen_get_height (screen);
| ^~~~~~~~~~~~~
In file included 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/gdk/gdkx.h:28,
from panel-addto-dialog.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
panel-layout.c: In function 'panel_layout_find_free_id':
panel-layout.c:220:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
220 | if (g_strcmp0 (unique_id,
| ^~
panel-layout.c:223:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
223 | break;
| ^~~~~
panel-layout.c: In function 'panel_layout_maybe_append_object_instance_config':
panel-layout.c:326:23: warning: declaration of 'key' shadows a parameter [-Wshadow]
326 | char *key;
| ^~~
panel-layout.c:270:64: note: shadowed declaration is here
270 | const char *key,
| ~~~~~~~~~~~~~^~~
panel-ditem-editor.c: In function 'panel_ditem_editor_setup_ui':
panel-ditem-editor.c:759:2: warning: 'gtk_container_set_focus_chain' is deprecated [-Wdeprecated-declarations]
759 | gtk_container_set_focus_chain (GTK_CONTAINER (priv->grid), focus_chain);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33,
from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from panel-ditem-editor.c:30:
/usr/include/gtk-3.0/gtk/gtkcontainer.h:177:10: note: declared here
177 | void gtk_container_set_focus_chain (GtkContainer *container,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panel-ditem-editor.c: In function 'panel_ditem_editor_command_changed':
panel-ditem-editor.c:846:2: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_NULL' not handled in switch [-Wswitch-enum]
846 | switch (type) {
| ^~~~~~
panel-ditem-editor.c:846:2: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_DIRECTORY' not handled in switch [-Wswitch-enum]
panel-ditem-editor.c: In function 'command_browse_chooser_response':
panel-ditem-editor.c:925:3: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_NULL' not handled in switch [-Wswitch-enum]
925 | switch (panel_ditem_editor_get_item_type (dialog)) {
| ^~~~~~
panel-ditem-editor.c:925:3: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_DIRECTORY' not handled in switch [-Wswitch-enum]
panel-ditem-editor.c: In function 'update_chooser_for_type':
panel-ditem-editor.c:958:2: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_NULL' not handled in switch [-Wswitch-enum]
958 | switch (panel_ditem_editor_get_item_type (dialog)) {
| ^~~~~~
panel-ditem-editor.c:958:2: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_DIRECTORY' not handled in switch [-Wswitch-enum]
panel-ditem-editor.c: In function 'type_combo_changed':
panel-ditem-editor.c:1126:2: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_NULL' not handled in switch [-Wswitch-enum]
1126 | switch (panel_ditem_editor_get_item_type (dialog)) {
| ^~~~~~
panel-ditem-editor.c: In function 'panel_ditem_editor_save':
panel-ditem-editor.c:1327:3: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_NULL' not handled in switch [-Wswitch-enum]
1327 | switch (type) {
| ^~~~~~
panel-ditem-editor.c:1327:3: warning: enumeration value 'PANEL_DITEM_EDITOR_TYPE_DIRECTORY' not handled in switch [-Wswitch-enum]
panel-ditem-editor.c: In function 'panel_ditem_editor_revert':
panel-ditem-editor.c:1446:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
1446 | for (i = 0; i < G_N_ELEMENTS (revert_keys); i++) {
| ^
panel-ditem-editor.c: In function 'panel_ditem_editor_set_revert':
panel-ditem-editor.c:1521:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
1521 | for (i = 0; i < G_N_ELEMENTS (revert_keys); i++) {
| ^
panel-list.c: In function 'panel_g_list_resort_item':
panel-list.c:170:11: warning: null pointer dereference [-Wnull-dereference]
panel-list.c:171:19: warning: null pointer dereference [-Wnull-dereference]
panel-list.c:173:11: warning: null pointer dereference [-Wnull-dereference]
panel-list.c:174:20: warning: null pointer dereference [-Wnull-dereference]
gp-applet-frame.c: In function 'gp_applet_frame_change_orientation':
gp-applet-frame.c:248:3: warning: 'position' may be used uninitialized in this function [-Wmaybe-uninitialized]
gp-applet-frame.c:222:19: note: 'position' was declared here
gp-applet-frame.c:247:3: warning: 'orientation' may be used uninitialized in this function [-Wmaybe-uninitialized]
gp-applet-frame.c:221:18: note: 'orientation' was declared here