VirtualBox

Changeset 63424 in vbox


Ignore:
Timestamp:
Aug 13, 2016 10:59:46 PM (8 years ago)
Author:
vboxsync
Message:

vbox-greeter.cpp: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp

    r62527 r63424  
    2121*   Header Files                                                                                                                 *
    2222*********************************************************************************************************************************/
     23#define GLIB_DISABLE_DEPRECATION_WARNINGS 1 /* g_type_init() is deprecated */
    2324#include <pwd.h>
    2425#include <syslog.h>
     
    411412static void cb_sigterm(int signum)
    412413{
     414    RT_NOREF(signum);
     415
    413416    /* Note: This handler must be reentrant-safe. */
    414417#ifdef VBOX_WITH_FLTK
     
    481484                                    gpointer pvData)
    482485{
     486    RT_NOREF(pGreeter);
    483487    vboxGreeterLog("cb_lightdm_show_message: text=%s, type=%d\n", pszText, enmType);
    484488
     
    550554{
    551555    PVBOXGREETERCTX pCtx = (PVBOXGREETERCTX)pvData;
     556    RT_NOREF(pWidget);
    552557    AssertPtr(pCtx);
    553558
     
    596601#endif
    597602{
     603    RT_NOREF(pWidget, pvData);
    598604    vboxGreeterLog("menu button pressed\n");
    599605}
     
    611617#endif
    612618{
     619    RT_NOREF(pWidget, pvData);
    613620    vboxGreeterLog("restart button pressed\n");
    614621
     
    640647#endif
    641648{
     649    RT_NOREF(pWidget, pvData);
    642650    vboxGreeterLog("shutdown button pressed\n");
    643651
     
    663671#endif
    664672{
     673    RT_NOREF(pWidget);
    665674    vboxGreeterLog("cb_edt_username called\n");
    666675
     
    679688#endif
    680689{
     690    RT_NOREF(pWidget, pvData);
    681691    vboxGreeterLog("cb_edt_password called\n");
    682692
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette