summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2005-12-29 16:12:45 +0000
committerChristopher Michael <cpmichael1@comcast.net>2005-12-29 16:12:45 +0000
commitc2c4c9c176258740786721550ddae68510f14dc1 (patch)
tree15f03d583964f9b422770a54deea0b4fec589a3f
parentf0f791f4a7112d65afa0ce937b58f2f0bd3aba69 (diff)
Remove unused function proto & function
SVN revision: 19387
-rw-r--r--src/modules/pager/e_mod_main.c26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/modules/pager/e_mod_main.c b/src/modules/pager/e_mod_main.c
index ff66ec00a..73edd6fe5 100644
--- a/src/modules/pager/e_mod_main.c
+++ b/src/modules/pager/e_mod_main.c
@@ -20,7 +20,6 @@ static void _pager_config_menu_new(Pager *pager);
20static Pager_Face *_pager_face_new(Pager *pager, E_Zone *zone, Evas *evas); 20static Pager_Face *_pager_face_new(Pager *pager, E_Zone *zone, Evas *evas);
21static void _pager_face_free(Pager_Face *face); 21static void _pager_face_free(Pager_Face *face);
22static void _pager_face_menu_new(Pager_Face *face); 22static void _pager_face_menu_new(Pager_Face *face);
23static void _pager_face_enable(Pager_Face *face);
24static void _pager_face_disable(Pager_Face *face); 23static void _pager_face_disable(Pager_Face *face);
25static void _pager_face_zone_set(Pager_Face *face, E_Zone *zone); 24static void _pager_face_zone_set(Pager_Face *face, E_Zone *zone);
26static void _pager_face_zone_unset(Pager_Face *face); 25static void _pager_face_zone_unset(Pager_Face *face);
@@ -471,6 +470,8 @@ _pager_face_new(Pager *pager, E_Zone *zone, Evas *evas)
471 e_gadman_client_change_func_set(face->gmc, _pager_face_cb_gmc_change, face); 470 e_gadman_client_change_func_set(face->gmc, _pager_face_cb_gmc_change, face);
472 e_gadman_client_load(face->gmc); 471 e_gadman_client_load(face->gmc);
473 472
473 Evas_Coord g, z;
474 e_gadman_client_geometry_get(face->gmc, NULL, NULL, &g, &z);
474 _pager_face_deskname_position_change(face); 475 _pager_face_deskname_position_change(face);
475 476
476 return face; 477 return face;
@@ -528,23 +529,6 @@ _pager_face_menu_new(Pager_Face *face)
528} 529}
529 530
530static void 531static void
531_pager_face_enable(Pager_Face *face)
532{
533 Evas_List *l;
534
535 face->conf->enabled = 1;
536 evas_object_show(face->pager_object);
537 for (l = face->desks; l; l = l->next)
538 {
539 Pager_Desk *pd;
540
541 pd = l->data;
542 evas_object_show(pd->event_object);
543 }
544 e_config_save_queue();
545}
546
547static void
548_pager_face_disable(Pager_Face *face) 532_pager_face_disable(Pager_Face *face)
549{ 533{
550 Evas_List *l; 534 Evas_List *l;
@@ -862,6 +846,7 @@ _pager_face_cb_gmc_change(void *data, E_Gadman_Client *gmc, E_Gadman_Change chan
862 846
863 face = data; 847 face = data;
864 e_gadman_client_geometry_get(face->gmc, &x, &y, &w, &h); 848 e_gadman_client_geometry_get(face->gmc, &x, &y, &w, &h);
849
865 face->fx = x; 850 face->fx = x;
866 face->fy = y; 851 face->fy = y;
867 face->fw = w; 852 face->fw = w;
@@ -1541,7 +1526,7 @@ _pager_cb_event_desk_show(void *data, int type, void *event)
1541 face->current_popup = pp; 1526 face->current_popup = pp;
1542 1527
1543 evas_object_geometry_get(face->pager_object, NULL, NULL, &w, &h); 1528 evas_object_geometry_get(face->pager_object, NULL, NULL, &w, &h);
1544 1529
1545 pp->face = _pager_face_new(face->pager, face->zone, pp->popup->evas); 1530 pp->face = _pager_face_new(face->pager, face->zone, pp->popup->evas);
1546 evas_object_move(pp->face->pager_object, 0, 0); 1531 evas_object_move(pp->face->pager_object, 0, 0);
1547 evas_object_resize(pp->face->pager_object, w, h); 1532 evas_object_resize(pp->face->pager_object, w, h);
@@ -1764,7 +1749,6 @@ _pager_window_cb_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_i
1764 /* make this configurable */ 1749 /* make this configurable */
1765 if (ev->button == 1) 1750 if (ev->button == 1)
1766 { 1751 {
1767// printf("DN: %d\n", pw);
1768 pw->drag.start = 1; 1752 pw->drag.start = 1;
1769 pw->drag.x = -1; 1753 pw->drag.x = -1;
1770 pw->drag.y = -1; 1754 pw->drag.y = -1;
@@ -1781,7 +1765,6 @@ _pager_window_cb_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_inf
1781 pw = data; 1765 pw = data;
1782 if (!pw) return; 1766 if (!pw) return;
1783 1767
1784// printf("UP: %d\n", pw);
1785 pw->drag.start = 0; 1768 pw->drag.start = 0;
1786} 1769}
1787 1770
@@ -2010,7 +1993,6 @@ _pager_face_cb_drop(void *data, const char *type, void *event_info)
2010 1993
2011 desk = e_desk_at_xy_get(face->zone, x, y); 1994 desk = e_desk_at_xy_get(face->zone, x, y);
2012 1995
2013 printf("drop %s\n", type);
2014 1996
2015 if (!strcmp(type, "enlightenment/pager_win")) 1997 if (!strcmp(type, "enlightenment/pager_win"))
2016 { 1998 {