elm: Fixed formatting.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 03:16:50 +0000 (03:16 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 03:16:50 +0000 (03:16 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_ctxpopup.c
src/bin/test_genlist.c
src/bin/test_gesture_layer2.c
src/bin/test_panes.c
src/bin/test_photocam.c

index 8e5ebe6..3a10db7 100644 (file)
@@ -10,7 +10,7 @@ _dismissed(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
 {
    void *ctxpopup_data;
    ctxpopup_data = evas_object_data_get(obj, "im");
-   if(ctxpopup_data)
+   if (ctxpopup_data)
      {
         evas_object_hide(ctxpopup_data);
         evas_object_del(ctxpopup_data);
@@ -55,12 +55,12 @@ _btn_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
    void *ctxpopup_data;
 
    ctxpopup_data = evas_object_data_get(data, "id");
-   if(!ctxpopup_data) return;
+   if (!ctxpopup_data) return;
 
-   if(!strcmp("list_item_6", (char *) ctxpopup_data))
+   if (!strcmp("list_item_6", (char *) ctxpopup_data))
      {
         ctxpopup_data = evas_object_data_get(data, "im");
-        if(ctxpopup_data) return;
+        if (ctxpopup_data) return;
 
         im = evas_object_image_filled_add(evas_object_evas_get(obj));
         snprintf(buf, sizeof(buf), "%s/images/%s",
@@ -83,7 +83,7 @@ _ctxpopup_item_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even
 }
 
 #define ITEM_NEW(_hov, _label, _icon)                                           \
-   if(_icon)                                                                    \
+   if (_icon)                                                                    \
      {                                                                          \
         ic = elm_icon_add(obj);                                                 \
         elm_icon_standard_set(ic, _icon);                                       \
index 72147b4..66b4793 100644 (file)
@@ -217,7 +217,7 @@ my_gl_insert_before(void *data, Evas_Object *obj __UNUSED__, void *event_info __
    itc1.func.del       = gl_del;
 
    gli_selected = elm_genlist_selected_item_get(gl);
-   if(!gli_selected)
+   if (!gli_selected)
      {
         printf("no item selected\n");
         return ;
@@ -247,7 +247,7 @@ my_gl_insert_after(void *data, Evas_Object *obj __UNUSED__, void *event_info __U
    itc1.func.del       = gl_del;
 
    gli_selected = elm_genlist_selected_item_get(gl);
-   if(!gli_selected)
+   if (!gli_selected)
      {
         printf("no item selected\n");
         return ;
index 166693b..30f27b6 100644 (file)
@@ -99,7 +99,7 @@ _icon_properties_find(icon_properties *icons, char *name)
 {
    int n;
 
-   for(n = 0; n < N_GESTURE_TYPE; n++)
+   for (n = 0; n < N_GESTURE_TYPE; n++)
      if (!strcmp(icons[n].name, name))
        return &icons[n];
 
@@ -132,7 +132,7 @@ _icon_color_set_cb(void *data)
    icon_properties *icons = data;
    icon_properties *i;
 
-   for(n = 0; n < N_GESTURE_TYPE; n++)
+   for (n = 0; n < N_GESTURE_TYPE; n++)
      {
         i = &icons[n];
 
index d78d654..f0ce6b7 100644 (file)
@@ -29,7 +29,7 @@ static void
 _clicked_double(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
 {
     printf("clicked double\n");
-    if(elm_panes_content_left_size_get(obj) > 0)
+    if (elm_panes_content_left_size_get(obj) > 0)
     {
         size = elm_panes_content_left_size_get(obj);
         elm_panes_content_left_size_set(obj, 0.0);
index 8bac763..eeb37f0 100644 (file)
@@ -193,7 +193,7 @@ _photocam_mouse_wheel_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
 
    val = 1;
    int _zoom = zoom;
-   while(_zoom>1)
+   while (_zoom>1)
      {
        _zoom /= 2;
        val++;