summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/wncklet/wayland-backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/wncklet/wayland-backend.c b/applets/wncklet/wayland-backend.c
index d51fb7d0..16a35f34 100644
--- a/applets/wncklet/wayland-backend.c
+++ b/applets/wncklet/wayland-backend.c
@@ -361,6 +361,7 @@ void
wayland_tasklist_set_orientation (GtkWidget* tasklist_widget, GtkOrientation orient)
{
TasklistManager *tasklist = tasklist_widget_get_tasklist (tasklist_widget);
+ g_return_if_fail(tasklist);
gtk_orientable_set_orientation (GTK_ORIENTABLE (tasklist->list), orient);
gtk_orientable_set_orientation (GTK_ORIENTABLE (tasklist->outer_box), orient);
}