diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-03-27 16:39:00 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-03-27 16:39:17 -0400 |
commit | a8ae8a91351243fa8e07198fa29fe90f9588e722 (patch) | |
tree | 180d088a81626ced62186ff655dae000f151f530 | |
parent | db4ecc61a717fae5eaa44dd374d2a9d9d8adf715 (diff) |
clients: Fix a couple of warnings
-rw-r--r-- | clients/dnd.c | 2 | ||||
-rw-r--r-- | clients/tablet-shell.c | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/clients/dnd.c b/clients/dnd.c index 66ba2ce..2b0faaa 100644 --- a/clients/dnd.c +++ b/clients/dnd.c @@ -247,9 +247,7 @@ data_source_target(void *data, struct dnd *dnd = dnd_drag->dnd; cairo_surface_t *surface; struct wl_buffer *buffer; - struct wl_data_device *device; - device = input_get_data_device(dnd_drag->input); dnd_drag->mime_type = mime_type; if (mime_type) surface = dnd_drag->opaque; diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c index 206100b..3a532c4 100644 --- a/clients/tablet-shell.c +++ b/clients/tablet-shell.c @@ -193,17 +193,6 @@ lockscreen_draw(struct tablet_shell *shell) } static void -lockscreen_button_handler(struct widget *widget, - struct input *input, uint32_t time, - int button, int state, void *data) -{ - struct tablet_shell *shell = data; - - window_destroy(shell->lockscreen); - shell->lockscreen = NULL; -} - -static void show_lockscreen(void *data, struct tablet_shell *tablet_shell) { struct tablet_shell *shell = data; |