ecore_wl2: Rename badly named API
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 9 Mar 2017 17:05:28 +0000 (11:05 -0600)
committerDerek Foreman <derekf@osg.samsung.com>
Thu, 9 Mar 2017 18:21:09 +0000 (12:21 -0600)
Oops, I broke naming convention with this, but it's unreleased and beta so
I hope nobody notices as long as I change it now...

src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_window.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 58f3e33..24ce2f5 100644 (file)
@@ -1332,7 +1332,7 @@ EAPI void ecore_wl2_offer_finish(Ecore_Wl2_Offer *offer);
  * @return Returns true if the window has an associated shell surface.
  * @since 1.19
  */
-EAPI Eina_Bool ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *win);
+EAPI Eina_Bool ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *win);
 
 /**
  * Disable session recovery for any further connections.  Must be called
index fff93c4..ebb10f2 100644 (file)
@@ -1271,7 +1271,7 @@ ecore_wl2_display_inputs_get(Ecore_Wl2_Display *display)
 }
 
 EAPI Eina_Bool
-ecore_wl2_window_has_shell_surface(Ecore_Wl2_Window *window)
+ecore_wl2_window_shell_surface_exists(Ecore_Wl2_Window *window)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
 
index 53e1c89..fc1d0d4 100644 (file)
@@ -1500,7 +1500,7 @@ _ecore_evas_wl_common_render_flush_pre(void *data, Evas *evas, void *event EINA_
    wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
    ecore_evas_manual_render_set(ee, 1);
 
-   if (!ecore_wl2_window_has_shell_surface(wdata->win)) return;
+   if (!ecore_wl2_window_shell_surface_exists(wdata->win)) return;
 
    if (wdata->win->zxdg_configure_ack && wdata->win->configure_serial)
      wdata->win->zxdg_configure_ack(wdata->win->zxdg_surface,