na-tray-manager: Add missing void
to functions with no arguments
to avoid "old-style function definition" and "function declaration isn’t a prototype" warnings. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/441
This commit is contained in:
parent
7bb84dae80
commit
1e3a174de9
@ -70,7 +70,7 @@ static guint manager_signals[LAST_SIGNAL];
|
|||||||
#define SYSTEM_TRAY_ORIENTATION_VERT 1
|
#define SYSTEM_TRAY_ORIENTATION_VERT 1
|
||||||
|
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
static gboolean na_tray_manager_check_running_screen_x11 ();
|
static gboolean na_tray_manager_check_running_screen_x11 (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void na_tray_manager_finalize (GObject *object);
|
static void na_tray_manager_finalize (GObject *object);
|
||||||
@ -808,7 +808,7 @@ na_tray_manager_manage_screen (NaTrayManager *manager)
|
|||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
na_tray_manager_check_running_screen_x11 ()
|
na_tray_manager_check_running_screen_x11 (void)
|
||||||
{
|
{
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
GdkScreen *screen;
|
GdkScreen *screen;
|
||||||
@ -833,7 +833,7 @@ na_tray_manager_check_running_screen_x11 ()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
na_tray_manager_check_running ()
|
na_tray_manager_check_running (void)
|
||||||
{
|
{
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
return na_tray_manager_check_running_screen_x11 ();
|
return na_tray_manager_check_running_screen_x11 ();
|
||||||
|
Loading…
Reference in New Issue
Block a user