forked from enlightenment/efl
Get rid of trailing whitespaces (2 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12000
This commit is contained in:
parent
09a7dadbac
commit
108ee1d485
|
@ -21,7 +21,7 @@ static void
|
||||||
_data_reset(Data *d)
|
_data_reset(Data *d)
|
||||||
{
|
{
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
EINA_LIST_FREE(d->seq, str) eina_stringshare_del(str);
|
EINA_LIST_FREE(d->seq, str) eina_stringshare_del(str);
|
||||||
d->composing = EINA_FALSE;
|
d->composing = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,7 @@ main(void)
|
||||||
evas_object_move(r0, 0, 0);
|
evas_object_move(r0, 0, 0);
|
||||||
evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6);
|
evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6);
|
||||||
evas_object_show(r0);
|
evas_object_show(r0);
|
||||||
|
|
||||||
r1 = evas_object_rectangle_add(sub_canvas);
|
r1 = evas_object_rectangle_add(sub_canvas);
|
||||||
evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */
|
evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */
|
||||||
evas_object_move(r1, 10, 10);
|
evas_object_move(r1, 10, 10);
|
||||||
|
|
|
@ -76,7 +76,7 @@ _button_1_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
|
||||||
color->b = b;
|
color->b = b;
|
||||||
color->a = a;
|
color->a = a;
|
||||||
|
|
||||||
ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color));
|
ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -47,7 +47,7 @@ main(void)
|
||||||
_xml_tag_cb, array);
|
_xml_tag_cb, array);
|
||||||
|
|
||||||
eina_array_foreach(array, _print, NULL);
|
eina_array_foreach(array, _print, NULL);
|
||||||
|
|
||||||
eina_array_free(array);
|
eina_array_free(array);
|
||||||
free(buffer);
|
free(buffer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
||||||
|
|
||||||
free(arr[0]);
|
free(arr[0]);
|
||||||
free(arr);
|
free(arr);
|
||||||
|
|
||||||
str = malloc(sizeof(char) * 4);
|
str = malloc(sizeof(char) * 4);
|
||||||
strcpy(str, "bsd");
|
strcpy(str, "bsd");
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define EFL_BETA_API_SUPPORT 1
|
#define EFL_BETA_API_SUPPORT 1
|
||||||
|
|
||||||
#include <Efl_Ui.h>
|
#include <Efl_Ui.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Example of canvas textblock obstacles.
|
* Example of canvas textblock obstacles.
|
||||||
*
|
*
|
||||||
|
@ -114,7 +114,7 @@ _key_down(void *data EINA_UNUSED, const Efl_Event *ev)
|
||||||
|
|
||||||
printf("Show/hide toggle for obstacle %p\n",
|
printf("Show/hide toggle for obstacle %p\n",
|
||||||
*d.t_data.obs_ptr);
|
*d.t_data.obs_ptr);
|
||||||
|
|
||||||
efl_canvas_textblock_obstacles_update(d.text);
|
efl_canvas_textblock_obstacles_update(d.text);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -126,7 +126,7 @@ _key_down(void *data EINA_UNUSED, const Efl_Event *ev)
|
||||||
POINTER_CYCLE(d.t_data.obs_size_ptr, d.t_data.obs_size);
|
POINTER_CYCLE(d.t_data.obs_size_ptr, d.t_data.obs_size);
|
||||||
|
|
||||||
efl_gfx_entity_size_set(*d.t_data.obs_ptr, EINA_SIZE2D(*d.t_data.obs_size_ptr, *d.t_data.obs_size_ptr));
|
efl_gfx_entity_size_set(*d.t_data.obs_ptr, EINA_SIZE2D(*d.t_data.obs_size_ptr, *d.t_data.obs_size_ptr));
|
||||||
|
|
||||||
efl_canvas_textblock_obstacles_update(d.text);
|
efl_canvas_textblock_obstacles_update(d.text);
|
||||||
|
|
||||||
printf("Changing obstacle size to: %d,%d\n",
|
printf("Changing obstacle size to: %d,%d\n",
|
||||||
|
@ -205,7 +205,7 @@ _gui_quit_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_gui_setup()
|
_gui_setup()
|
||||||
{
|
{
|
||||||
/* init values one is going to cycle through while running this
|
/* init values one is going to cycle through while running this
|
||||||
* example */
|
* example */
|
||||||
struct text_preset_data init_data =
|
struct text_preset_data init_data =
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* gcc -g filter_example.c -o filter_example `pkg-config --cflags --libs elementary`
|
* gcc -g filter_example.c -o filter_example `pkg-config --cflags --libs elementary`
|
||||||
*/
|
*/
|
||||||
#define EFL_BETA_API_SUPPORT 1
|
#define EFL_BETA_API_SUPPORT 1
|
||||||
#include <Elementary.h>
|
#include <Elementary.h>
|
||||||
|
|
||||||
typedef struct _Filter
|
typedef struct _Filter
|
||||||
|
|
|
@ -193,7 +193,7 @@ main(void)
|
||||||
* will be deleted automatically by parent.*/
|
* will be deleted automatically by parent.*/
|
||||||
|
|
||||||
if (efl_file_set(d.img, img_path)) goto panic;
|
if (efl_file_set(d.img, img_path)) goto panic;
|
||||||
|
|
||||||
err = efl_file_load(d.img);
|
err = efl_file_load(d.img);
|
||||||
|
|
||||||
if (err != EVAS_LOAD_ERROR_NONE)
|
if (err != EVAS_LOAD_ERROR_NONE)
|
||||||
|
|
Loading…
Reference in New Issue