Enlightenment CVS committal
Author : englebass
Project : e_modules
Module : tiling
Dir : e_modules/tiling
Modified Files:
e_mod_config.c e_mod_main.c e_modules-tiling.spec.in
Log Message:
Fix compiler warnings.
===================================================================
RCS file: /cvs/e/e_modules/tiling/e_mod_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_config.c 8 Jun 2008 16:15:28 -0000 1.2
+++ e_mod_config.c 19 Jun 2008 13:03:50 -0000 1.3
@@ -5,6 +5,7 @@
#include "e_mod_main.h"
#include "e_mod_config.h"
#include "config.h"
+#include "trivials.h"
/* Prototypes */
static void *_create_data(E_Config_Dialog *cfd);
@@ -140,8 +141,7 @@
}
rg = e_widget_radio_group_new(&(vd->layout));
- Evas_Object *radiolist = e_widget_list_add(evas, 0, 1),
- *obj;
+ Evas_Object *radiolist = e_widget_list_add(evas, 0, 1);
LIST_ADD(radiolist, e_widget_label_add(evas, desk->name));
LIST_ADD(radiolist, RADIO("None", TILE_NONE, rg));
@@ -206,7 +206,6 @@
{
Evas_Object *o, *ob, *of, *osf, *ossf, *ot;
E_Radio_Group *rg;
- int i;
E_Container *con = e_container_current_get(e_manager_current_get());
E_Zone *zone;
Evas_List *l;
===================================================================
RCS file: /cvs/e/e_modules/tiling/e_mod_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.c 5 Jun 2008 12:12:29 -0000 1.2
+++ e_mod_main.c 19 Jun 2008 13:03:50 -0000 1.3
@@ -22,7 +22,6 @@
*vdesk_edd;
static E_Border_Hook *hook = NULL;
static Ecore_Event_Handler *handler_hide = NULL,
- *handler_desk_count = NULL,
*handler_desk_show = NULL,
*handler_desk_before_show = NULL,
*handler_mouse_move = NULL,
@@ -163,7 +162,7 @@
}
#ifdef DEBUG
-static int
+static void
print_borderlist()
{
if (!tinfo) return;
@@ -787,14 +786,13 @@
E_Event_Border_Hide *ev = event;
rearrange_windows(ev->border, 1);
- if (currently_switching_desktop) return;
+ if (currently_switching_desktop) return 1;
/* Ensure that the border is deleted from all available desks */
static Tiling_Info *_tinfo = NULL;
- Evas_List *l, *ll, *lll, *llll;
+ Evas_List *l, *ll, *lll;
E_Zone *zone;
E_Desk *desk;
- E_Border *first;
int i;
for (l = e_manager_list(); l; l = l->next)
@@ -811,6 +809,7 @@
_tinfo->client_list = evas_list_remove(_tinfo->client_list,
ev->border);
}
}
+ return 1;
}
static int
@@ -819,6 +818,7 @@
E_Event_Desk_Show *ev = event;
_desk_show(ev->desk);
currently_switching_desktop = 0;
+ return 1;
}
static int
@@ -827,6 +827,7 @@
E_Event_Desk_Before_Show *ev = event;
_desk_before_show(ev->desk);
currently_switching_desktop = 1;
+ return 1;
}
static Evas_Bool
@@ -834,7 +835,7 @@
{
Tiling_Info *ti = data;
E_Event_Border_Desk_Set *ev = fdata;
- if (!ev || !ti || (ti->desk == ev->desk)) return;
+ if (!ev || !ti || (ti->desk == ev->desk)) return 1;
if (evas_list_find(ti->client_list, ev->border) == ev->border)
ti->client_list = evas_list_remove(ti->client_list, ev->border);
if (evas_list_find(ti->floating_windows, ev->border) == ev->border)
@@ -850,6 +851,7 @@
* zone changes or not (depends on the mouse position) */
E_Event_Border_Desk_Set *ev = event;
evas_hash_foreach(info_hash, _clear_bd_from_info_hash, ev);
+ return 1;
}
static int
@@ -865,6 +867,7 @@
current_zone = desk->zone;
_desk_show(desk);
}
+ return 1;
}
@@ -875,7 +878,7 @@
EAPI void
e_mod_tiling_rearrange()
{
- Evas_List *l, *ll, *lll, *llll;
+ Evas_List *l, *ll, *lll;
E_Zone *zone;
E_Desk *desk;
E_Border *first;
===================================================================
RCS file: /cvs/e/e_modules/tiling/e_modules-tiling.spec.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_modules-tiling.spec.in 5 Jun 2008 10:55:51 -0000 1.1
+++ e_modules-tiling.spec.in 19 Jun 2008 13:03:50 -0000 1.2
@@ -11,7 +11,7 @@
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <[EMAIL
PROTECTED]>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment
Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-BuildRequires: ecore-devel, evas-devel, edje-bin
+BuildRequires: ecore-devel, evas-devel, esmart-devel, edje-bin
BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.16.999
Requires: enlightenment >= 0.16.999
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs