Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src Modified Files: ewl_button_stock.h ewl_dialog.h ewl_filedialog.h ewl_fileselector.c ewl_fileselector.h Log Message: - extern "C" is done in Ewl.h, don't need it in the individual .h files - there is no stock_open_24 in the src tree, so remove its usage... - this removes the last instance of hardcoded images in the fileselector =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_button_stock.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_button_stock.h 21 Dec 2004 04:15:56 -0000 1.14 +++ ewl_button_stock.h 21 Dec 2004 04:35:06 -0000 1.15 @@ -1,12 +1,6 @@ #ifndef __EWL_BUTTON_STOCK_H__ #define __EWL_BUTTON_STOCK_H__ - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - - /** * @defgroup Ewl_Button_Stock Button_Stock: A Button with a Stock Icon in it. * @brief The button_stock class is a button with a stock icon or a @@ -86,10 +80,4 @@ * @} */ - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - #endif /* __EWL_BUTTON_STOCK_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_dialog.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ewl_dialog.h 21 Dec 2004 04:15:56 -0000 1.9 +++ ewl_dialog.h 21 Dec 2004 04:35:06 -0000 1.10 @@ -1,11 +1,6 @@ #ifndef __EWL_DIALOG_H__ #define __EWL_DIALOG_H__ - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - /** * @defgroup Ewl_Dialog Dialog: A Window to prompt the user for * Displaying Messages, asking @@ -72,9 +67,4 @@ * @} */ -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - #endif /* __EWL_DIALOG_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_filedialog.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ewl_filedialog.h 21 Dec 2004 03:56:25 -0000 1.17 +++ ewl_filedialog.h 21 Dec 2004 04:35:06 -0000 1.18 @@ -1,10 +1,6 @@ #ifndef __EWL_FILEDIALOG_H__ #define __EWL_FILEDIALOG_H__ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - /** * @defgroup Ewl_Filedialog Filedialog: A Dialog For Picking Files * @@ -69,9 +65,4 @@ * @} */ -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - #endif /* __EWL_FS_H__ */ =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_fileselector.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- ewl_fileselector.c 21 Dec 2004 04:15:56 -0000 1.53 +++ ewl_fileselector.c 21 Dec 2004 04:35:06 -0000 1.54 @@ -1,15 +1,12 @@ #include <Ewl.h> -#include "../ewl-config.h" - +#include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <dirent.h> #include <string.h> #include <regex.h> -#include "ewl_fileselector.h" - /* * Internally used functions */ @@ -575,20 +572,13 @@ while ((d = ecore_list_current(dirs))) { Ewl_Widget *hbox; Ewl_Widget *label; - Ewl_Widget *image; hbox = ewl_hbox_new(); ewl_box_spacing_set(EWL_BOX(hbox), 5); label = ewl_text_new(d->name); - image = ewl_image_new(PACKAGE_DATA_DIR"/stock_open_24.png", - NULL); - ewl_object_fill_policy_set(EWL_OBJECT(image), - EWL_FLAG_FILL_SHRINK); ewl_object_fill_policy_set(EWL_OBJECT(label), EWL_FLAG_FILL_SHRINK); - ewl_container_child_append(EWL_CONTAINER(hbox), image); ewl_container_child_append(EWL_CONTAINER(hbox), label); - ewl_widget_show(image); ewl_widget_show(label); ewl_widget_show(hbox); =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_fileselector.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ewl_fileselector.h 28 Aug 2004 06:26:33 -0000 1.17 +++ ewl_fileselector.h 21 Dec 2004 04:35:06 -0000 1.18 @@ -20,14 +20,6 @@ * @themekey /fileselector/group */ - -#include <sys/stat.h> - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - - /* Private: data for a file */ typedef struct Ewl_Fileselector_Data Ewl_Fileselector_Data; @@ -96,9 +88,5 @@ void ewl_fileselector_filter_cb(Ewl_Widget *entry, void *ev_data, void *user_data); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - - #endif /* __EWL_FILESELECTOR_H__ */ + ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs