diff options
| author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-03-25 10:46:58 +0100 |
|---|---|---|
| committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-03-25 10:46:58 +0100 |
| commit | bc839aca0350dbee41924d62f6a49c1cca9d1c6d (patch) | |
| tree | 4c44ccb169637217b807718dedc23c2426fc9db1 /shell | |
| parent | 8d354d7e7c2b2a43df62fc7f870b0074eac826fd (diff) | |
| download | graynard-bc839aca0350dbee41924d62f6a49c1cca9d1c6d.tar.gz graynard-bc839aca0350dbee41924d62f6a49c1cca9d1c6d.zip | |
shell: use G_SOURCE_REMOVE instead of FALSE globally
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/launcher.c | 2 | ||||
| -rw-r--r-- | shell/maynard.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/shell/launcher.c b/shell/launcher.c index 2dfde55..b13d8a3 100644 --- a/shell/launcher.c +++ b/shell/launcher.c @@ -113,7 +113,7 @@ app_launched_idle_cb (gpointer data) gtk_adjustment_set_value (adjustment, 0.0); - return FALSE; + return G_SOURCE_REMOVE; } static void diff --git a/shell/maynard.c b/shell/maynard.c index 9e03dfc..ef698e2 100644 --- a/shell/maynard.c +++ b/shell/maynard.c @@ -98,7 +98,7 @@ connect_enter_leave_signals (gpointer data) g_signal_connect (desktop->launcher_grid->window, "leave-notify-event", G_CALLBACK (panel_window_leave_cb), desktop); - return FALSE; + return G_SOURCE_REMOVE; } static void @@ -310,7 +310,7 @@ leave_panel_idle_cb (gpointer data) maynard_panel_show_volume_previous (MAYNARD_PANEL (desktop->panel->window), FALSE); desktop->volume_visible = FALSE; - return FALSE; + return G_SOURCE_REMOVE; } static gboolean @@ -340,6 +340,8 @@ panel_hide_timeout_cb (gpointer data) struct desktop *desktop = data; panel_window_leave_cb (NULL, NULL, desktop); + + return G_SOURCE_REMOVE; } static void |
