Changeset 206 for trunk/desktop/class_c/wpdatafile.c
- Timestamp:
- Jan 20, 2007, 11:16:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/wpdatafile.c
r200 r206 33 33 * ***** END LICENSE BLOCK ***** */ 34 34 /* 35 * This file was generated by orbit-idl-2 for Voyager36 *37 *38 35 * And remember, phase 3 is near... 39 36 */ 40 37 #ifndef NOM_WPDataFile_IMPLEMENTATION_FILE 38 #define NOM_WPDataFile_IMPLEMENTATION_FILE 39 #endif 41 40 #define INCL_DOS 42 41 #include <os2.h> … … 64 63 { 65 64 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 66 CORBA_long nomRetval;67 65 68 return nomRetval;66 return 0; 69 67 } 70 68 … … 72 70 { 73 71 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 74 CORBA_long nomRetval;75 72 76 return nomRetval;73 return 0; 77 74 } 78 75 79 76 NOM_Scope gpointer NOMLINK impl_WPDataFile_wpQueryIcon(WPDataFile* nomSelf, CORBA_Environment *ev) 80 77 { 81 static const gchar *gchrIconName=NULLHANDLE;82 static gpointer ptrIcon=NULLHANDLE;83 GError *error=NULL;84 85 78 /* WPDataFileData* nomThis=WPDataFileGetData(nomSelf); */ 86 79 87 80 return WPDataFile_wpQueryIcon_parent(nomSelf, NULLHANDLE); 88 81 89 #if 090 /* Load default wpObject icon */91 if(!gchrIconName){92 gchrIconName=g_build_filename(priv_getIconDir(), WPOBJECT_ICON_FILE, NULL);93 94 g_return_val_if_fail(g_file_test (gchrIconName, G_FILE_TEST_EXISTS), NULLHANDLE);95 nomPrintf("IconFile: %s\n", gchrIconName);96 // _hPointerCls = (HPOINTER)gdk_pixbuf_new_from_file (gchrIconName, &error);97 ptrIcon=gdk_pixbuf_new_from_file (gchrIconName, &error);98 }99 #warning !!!!! Dont create an icon for each object !!!!!100 if(ptrIcon)101 return ptrIcon;102 else103 return gdk_pixbuf_new_from_file (gchrIconName, &error);104 #endif105 82 #if 0 106 83 /* orbit-idl-c-stubs.c, VoyagerWriteProtoForParentCall line 84 */
Note:
See TracChangeset
for help on using the changeset viewer.