diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-18 19:40:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-01-20 11:38:54 +0100 |
commit | 95ae9eceb944ec71b4f99b4446d517b4cb9fd6c4 (patch) | |
tree | e312ab1fe2819fdf982176be1b544ac68fe64873 /vcl/unx | |
parent | d997066759cc79d07097f28bc6a97b1f43da73e0 (diff) |
GSourceFunc return gboolean
Change-Id: I9872b27450e9b50d8bef33abc267a763d7d516cb
Reviewed-on: https://gerrit.libreoffice.org/66632
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkutil.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkwindow.cxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx index 61df38a27beb..737a24b2312e 100644 --- a/vcl/unx/gtk/a11y/atklistener.cxx +++ b/vcl/unx/gtk/a11y/atklistener.cxx @@ -76,7 +76,7 @@ static AtkStateType mapState( const uno::Any &rAny ) extern "C" { // rhbz#1001768 - down to horrific problems releasing the solar mutex // while destroying a Window - which occurs inside these notifications. - static gint + static gboolean idle_defunc_state_change( AtkObject *atk_obj ) { SolarMutexGuard aGuard; @@ -90,7 +90,7 @@ extern "C" { SAL_WNODEPRECATED_DECLARATIONS_POP } g_object_unref( G_OBJECT( atk_obj ) ); - return FALSE; + return false; } } diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx index a2c185f674c8..8aa3c0d80770 100644 --- a/vcl/unx/gtk/a11y/atkutil.cxx +++ b/vcl/unx/gtk/a11y/atkutil.cxx @@ -66,7 +66,7 @@ static guint focus_notify_handler = 0; extern "C" { -static gint +static gboolean atk_wrapper_focus_idle_handler (gpointer data) { SolarMutexGuard aGuard; @@ -115,7 +115,7 @@ atk_wrapper_focus_idle_handler (gpointer data) } } - return FALSE; + return false; } } // extern "C" diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index 31cbf83fd429..eb72edf4908c 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -122,14 +122,14 @@ init_from_window( AtkObject *accessible, vcl::Window const *pWindow ) /*****************************************************************************/ -static gint +static gboolean ooo_window_wrapper_clear_focus(gpointer) { SolarMutexGuard aGuard; SAL_WNODEPRECATED_DECLARATIONS_PUSH atk_focus_tracker_notify( nullptr ); SAL_WNODEPRECATED_DECLARATIONS_POP - return FALSE; + return false; } /*****************************************************************************/ @@ -138,7 +138,7 @@ static gboolean ooo_window_wrapper_real_focus_gtk (GtkWidget *, GdkEventFocus *) { g_idle_add( ooo_window_wrapper_clear_focus, nullptr ); - return FALSE; + return false; } static gboolean ooo_tooltip_map( GtkWidget* pToolTip, gpointer ) |