devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=684429099e9da6b00235a661bef3507a0e0020a6

commit 684429099e9da6b00235a661bef3507a0e0020a6
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Nov 10 09:50:19 2015 -0500

    ecore-wl2: Change name of ecore_wl2_window_class_name_set function
    
    It makes more sense to have this function be called
    ecore_wl2_window_class_set.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/Ecore_Wl2.h                                      | 4 ++--
 src/lib/ecore_wl2/ecore_wl2_window.c                               | 4 ++--
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index c621c16..8d84ed3 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -601,11 +601,11 @@ EAPI void ecore_wl2_window_title_set(Ecore_Wl2_Window 
*window, const char *title
  * Set the class of a given window
  *
  * @param window The window to set the class of
- * @param class_name The class of the window
+ * @param clas The class of the window
  *
  * @ingroup Ecore_Wl2_Window_Group
  */
-EAPI void ecore_wl2_window_class_name_set(Ecore_Wl2_Window *window, const char 
*class_name);
+EAPI void ecore_wl2_window_class_set(Ecore_Wl2_Window *window, const char 
*clas);
 
 /**
  * Get the geometry of a given window
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 79cfcad..ae8d4ba 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -712,11 +712,11 @@ ecore_wl2_window_title_set(Ecore_Wl2_Window *window, 
const char *title)
 }
 
 EAPI void
-ecore_wl2_window_class_name_set(Ecore_Wl2_Window *window, const char 
*class_name)
+ecore_wl2_window_class_set(Ecore_Wl2_Window *window, const char *clas)
 {
    EINA_SAFETY_ON_NULL_RETURN(window);
 
-   eina_stringshare_replace(&window->class, class_name);
+   eina_stringshare_replace(&window->class, clas);
    if (!window->class) return;
 
    if (window->xdg_surface)
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index fa19cbd..1183ae1 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1040,7 +1040,7 @@ _ecore_evas_wl_common_name_class_set(Ecore_Evas *ee, 
const char *n, const char *
      }
 
    if (ee->prop.clas)
-     ecore_wl2_window_class_name_set(wdata->win, ee->prop.clas);
+     ecore_wl2_window_class_set(wdata->win, ee->prop.clas);
 }
 
 void

-- 


Reply via email to