Update all EXTRA modules to Gadcon_client_class V3

SVN revision: 37451
master
Davide Andreoli 14 years ago
parent 918e3cfe7d
commit fd0502158f
  1. 18
      e_mod_main.c

@ -18,10 +18,10 @@
static E_Gadcon_Client *_gc_init(E_Gadcon * gc, const char *name,
const char *id, const char *style);
static void _gc_shutdown(E_Gadcon_Client * gcc);
static void _gc_orient(E_Gadcon_Client * gcc);
static char *_gc_label(void);
static Evas_Object *_gc_icon(Evas * evas);
static const char *_gc_id_new(void);
static void _gc_orient(E_Gadcon_Client * gcc, E_Gadcon_Orient orient);
static char *_gc_label(E_Gadcon_Client_Class *client_class);
static Evas_Object *_gc_icon(E_Gadcon_Client_Class *client_class, Evas * evas);
static const char *_gc_id_new(E_Gadcon_Client_Class *client_class);
static E_Config_DD *conf_edd = NULL;
static E_Config_DD *conf_item_edd = NULL;
@ -229,13 +229,13 @@ _gc_shutdown(E_Gadcon_Client * gcc)
}
static void
_gc_orient(E_Gadcon_Client * gcc)
_gc_orient(E_Gadcon_Client * gcc, E_Gadcon_Orient orient)
{
Instance *inst;
inst = gcc->data;
switch (gcc->gadcon->orient)
switch (orient)
{
case E_GADCON_ORIENT_FLOAT:
edje_object_signal_emit(inst->forecasts_obj, "e,state,orientation,float", "e");
@ -251,13 +251,13 @@ _gc_orient(E_Gadcon_Client * gcc)
}
static char *
_gc_label(void)
_gc_label(E_Gadcon_Client_Class *client_class)
{
return D_("Forecasts");
}
static Evas_Object *
_gc_icon(Evas * evas)
_gc_icon(E_Gadcon_Client_Class *client_class, Evas * evas)
{
Evas_Object *o;
char buf[4096];
@ -270,7 +270,7 @@ _gc_icon(Evas * evas)
}
static const char *
_gc_id_new(void)
_gc_id_new(E_Gadcon_Client_Class *client_class)
{
Config_Item *ci;

Loading…
Cancel
Save