Remove unused variables.
Move static function declarations to .c file. A static function is local to a .c file, so no point in declaring them in a .h file. SVN revision: 28742
This commit is contained in:
parent
c9d4dc5df0
commit
bc67187f68
|
@ -4,6 +4,12 @@
|
||||||
#include "e_mod_net.h"
|
#include "e_mod_net.h"
|
||||||
#include "e_mod_config.h"
|
#include "e_mod_config.h"
|
||||||
|
|
||||||
|
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 E_Gadcon_Client_Class _gc_class =
|
static const E_Gadcon_Client_Class _gc_class =
|
||||||
{
|
{
|
||||||
GADCON_CLIENT_CLASS_VERSION, "net",
|
GADCON_CLIENT_CLASS_VERSION, "net",
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
#ifndef E_MOD_GADCON_H
|
#ifndef E_MOD_GADCON_H
|
||||||
#define E_MOD_GADCON_H
|
#define E_MOD_GADCON_H
|
||||||
|
|
||||||
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);
|
|
||||||
|
|
||||||
EAPI void _gc_register(void);
|
EAPI void _gc_register(void);
|
||||||
EAPI void _gc_unregister(void);
|
EAPI void _gc_unregister(void);
|
||||||
|
|
||||||
|
|
|
@ -145,12 +145,12 @@ _cb_mouse_in(void *data, Evas_Object *obj, const char *emission, const char *sou
|
||||||
Instance *inst;
|
Instance *inst;
|
||||||
Config_Item *ci;
|
Config_Item *ci;
|
||||||
E_Container *con;
|
E_Container *con;
|
||||||
Evas_Object *bg, *box, *icon, *label;
|
Evas_Object *bg;
|
||||||
Evas_Coord cx, cy, cw, ch;
|
Evas_Coord cx, cy, cw, ch;
|
||||||
Evas_Coord ox, oy, ow, oh;
|
Evas_Coord ox, oy, ow, oh;
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
int layer = -1;
|
int layer = -1;
|
||||||
int top, wx, wy, ww, wh;
|
int wx, wy, ww, wh;
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
inst = data;
|
inst = data;
|
||||||
|
|
Loading…
Reference in New Issue