Add global remove callback to wl_registry_listener 89/184289/1 submit/tizen/20180717.051559
authorHyunil <hyunil46.park@samsung.com>
Tue, 17 Jul 2018 04:53:03 +0000 (13:53 +0900)
committerHyunil <hyunil46.park@samsung.com>
Tue, 17 Jul 2018 04:53:03 +0000 (13:53 +0900)
Change-Id: Iac87ff05487b2d1bf59fe2c672a8103331e2173b
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
disp/player_display.c
packaging/capi-media-player.spec

index fc1ea6c9bd96ab61ec170bd4a18b2ffca6e919c2..95421b727847c4d1db0dc586381e3af4e224390e 100644 (file)
@@ -316,8 +316,15 @@ static void handle_global(void *data, struct wl_registry *registry, uint32_t nam
        }
 }
 
+static void handle_global_remove(void * data, struct wl_registry * registry, uint32_t name)
+{
+       LOGD("Removed global object: name(%d)", name);
+}
+
+
 static const struct wl_registry_listener registry_listener = {
        handle_global,
+       handle_global_remove
 };
 
 static int _wl_client_create(wl_client ** wlclient)
index 2e1182915d920b2873c24c4c0fcf4c57acff5010..fb2d46140d2ba44cabd16a6dcc25f65d91bd4414 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.96
+Version:    0.3.97
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0