Cleanup compiler warnings.

SVN revision: 34613
This commit is contained in:
Christopher Michael 2008-05-19 09:39:37 +00:00
parent ada4c17fa2
commit 09b50cbe48
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#include <e.h>
#include <X11/extensions/shape.h>
//#include <X11/extensions/shape.h>
#include "config.h"
#include "e_mod_main.h"
#include "e_mod_gadman.h"
@ -639,7 +639,7 @@ _get_bind_text(const char* action)
strcat(b, l);
free(l);
}
return &b;
return strdup(b);
}
return "(You must define a binding)";
}

View File

@ -20,7 +20,7 @@ struct _Manager
Evas_Object *mover;
Evas_Object *mover_top;
Evas_Object *full_bg;
char *icon_name;
const char *icon_name;
int visible;
int use_composite;

View File

@ -41,8 +41,9 @@ e_modapi_init(E_Module *m)
/* Menu augmentation */
Man->icon_name = evas_stringshare_add(buf);
Man->maug = NULL;
Man->maug = e_int_menus_menu_augmentation_add("config/1", _gadman_maug_add,
Man->icon_name, NULL, NULL);
Man->maug =
e_int_menus_menu_augmentation_add("config/1", _gadman_maug_add,
(void *)Man->icon_name, NULL, NULL);
/* Create toggle action */
Man->action = e_action_add("gadman_toggle");
if (Man->action)