Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_icon.c ewl_icon.h 


Log Message:
those functions weren't implemented and aren't needed, since we have the 
context menu

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_icon.c  3 Jul 2007 02:47:43 -0000       1.38
+++ ewl_icon.c  6 Jul 2007 20:15:27 -0000       1.39
@@ -363,43 +363,6 @@
 }
 
 /**
- * @param icon: The icon to set the menu into
- * @param menu: The mneu to set on the icon
- * @return Returns no value
- * @brief Set the menu for the icon
- */
-void
-ewl_icon_menu_set(Ewl_Icon *icon, Ewl_Widget *menu)
-{
-       DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR("icon", icon);
-       DCHECK_PARAM_PTR("menu", menu);
-       DCHECK_TYPE("icon", icon, EWL_ICON_TYPE);
-       DCHECK_TYPE("menu", menu, EWL_MENU_TYPE);
-
-       printf("FIXME: MENUS NOT HOOKED INTO ICONS YET\n");
-
-       DLEAVE_FUNCTION(DLEVEL_STABLE);
-}
-
-/** 
- * @param icon: The icon to get the menu from
- * @return Returns the menu set on this icon, or NULL if none set 
- * @brief Retrieve the menu from the icon
- */
-Ewl_Widget *
-ewl_icon_menu_get(Ewl_Icon *icon)
-{
-       DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR_RET("icon", icon, NULL);
-       DCHECK_TYPE_RET("icon", icon, EWL_ICON_TYPE, NULL);
-
-       printf("FIXME: MENUS NOT HOOKED INTO ICONS YET\n");
-
-       DRETURN_PTR(NULL, DLEVEL_STABLE);
-}
-
-/**
  * @param icon: The icon to set the extended data into
  * @param ext: The extended data to set in the icon
  * @return Returns no value
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_icon.h  3 Jul 2007 02:47:43 -0000       1.17
+++ ewl_icon.h  6 Jul 2007 20:15:27 -0000       1.18
@@ -46,7 +46,6 @@
        Ewl_Widget *label;      /**< The icons label */
        Ewl_Widget *image;      /**< The icons image */
        Ewl_Widget *alt;        /**< The icons alt text */
-       Ewl_Widget *menu;       /**< The icons menu */
        Ewl_Widget *extended;   /**< The icons extended information */
 
        char *label_text;       /**< The label text */
@@ -99,9 +98,6 @@
 
 void            ewl_icon_extended_data_set(Ewl_Icon *icon, Ewl_Widget *ext);
 Ewl_Widget     *ewl_icon_extended_data_get(Ewl_Icon *icon);
-
-void            ewl_icon_menu_set(Ewl_Icon *icon, Ewl_Widget *menu);
-Ewl_Widget     *ewl_icon_menu_get(Ewl_Icon *icon);
 
 /*
  * Internal stuff



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to