summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-11-23 14:00:39 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-11-23 14:00:39 +0000
commit3a6be732b949381df7e54355eafbdf1d46cf19ca (patch)
treedf3746147e305a538ca80176a18e1b83a90f3433
parent22547970e9389fc148c25f202d6853a5a791a6a5 (diff)
clean up some null string stuff
SVN revision: 18620
Diffstat (limited to '')
-rw-r--r--legacy/edje/src/lib/edje_load.c2
-rw-r--r--legacy/edje/src/lib/edje_program.c2
-rw-r--r--legacy/edje/src/lib/edje_smart.c14
3 files changed, 10 insertions, 8 deletions
diff --git a/legacy/edje/src/lib/edje_load.c b/legacy/edje/src/lib/edje_load.c
index 600680dff8..276f144ac1 100644
--- a/legacy/edje/src/lib/edje_load.c
+++ b/legacy/edje/src/lib/edje_load.c
@@ -317,7 +317,7 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *part)
317 _edje_unblock(ed); 317 _edje_unblock(ed);
318 _edje_unref(ed); 318 _edje_unref(ed);
319 ed->load_error = EDJE_LOAD_ERROR_NONE; 319 ed->load_error = EDJE_LOAD_ERROR_NONE;
320 _edje_emit(ed, "load", ""); 320 _edje_emit(ed, "load", NULL);
321 return 1; 321 return 1;
322 } 322 }
323 else 323 else
diff --git a/legacy/edje/src/lib/edje_program.c b/legacy/edje/src/lib/edje_program.c
index 178ca97cee..084d08031e 100644
--- a/legacy/edje/src/lib/edje_program.c
+++ b/legacy/edje/src/lib/edje_program.c
@@ -744,6 +744,8 @@ _edje_emit_handle(Edje *ed, char *sig, char *src)
744 Evas_List *l; 744 Evas_List *l;
745 745
746 if (ed->delete_me) return; 746 if (ed->delete_me) return;
747 if (!sig) sig = "";
748 if (!src) src = "";
747// printf("EDJE EMIT: signal: \"%s\" source: \"%s\"\n", sig, src); 749// printf("EDJE EMIT: signal: \"%s\" source: \"%s\"\n", sig, src);
748 _edje_block(ed); 750 _edje_block(ed);
749 _edje_ref(ed); 751 _edje_ref(ed);
diff --git a/legacy/edje/src/lib/edje_smart.c b/legacy/edje/src/lib/edje_smart.c
index 705f597bc1..07c9d4db58 100644
--- a/legacy/edje/src/lib/edje_smart.c
+++ b/legacy/edje/src/lib/edje_smart.c
@@ -114,7 +114,7 @@ _edje_smart_move(Evas_Object * obj, Evas_Coord x, Evas_Coord y)
114 } 114 }
115 } 115 }
116 } 116 }
117// _edje_emit(ed, "move", ""); 117// _edje_emit(ed, "move", NULL);
118} 118}
119 119
120static void 120static void
@@ -130,7 +130,7 @@ _edje_smart_resize(Evas_Object * obj, Evas_Coord w, Evas_Coord h)
130// evas_object_resize(ed->clipper, ed->w, ed->h); 130// evas_object_resize(ed->clipper, ed->w, ed->h);
131 ed->dirty = 1; 131 ed->dirty = 1;
132 _edje_recalc(ed); 132 _edje_recalc(ed);
133 _edje_emit(ed, "resize", ""); 133 _edje_emit(ed, "resize", NULL);
134} 134}
135 135
136static void 136static void
@@ -143,7 +143,7 @@ _edje_smart_show(Evas_Object * obj)
143 if (evas_object_visible_get(ed->clipper)) return; 143 if (evas_object_visible_get(ed->clipper)) return;
144 if ((ed->collection) && (evas_object_clipees_get(ed->clipper))) 144 if ((ed->collection) && (evas_object_clipees_get(ed->clipper)))
145 evas_object_show(ed->clipper); 145 evas_object_show(ed->clipper);
146 _edje_emit(ed, "show", ""); 146 _edje_emit(ed, "show", NULL);
147} 147}
148 148
149static void 149static void
@@ -156,7 +156,7 @@ _edje_smart_hide(Evas_Object * obj)
156 if (!evas_object_visible_get(ed->clipper)) return; 156 if (!evas_object_visible_get(ed->clipper)) return;
157 if ((ed->collection) && (evas_object_clipees_get(ed->clipper))) 157 if ((ed->collection) && (evas_object_clipees_get(ed->clipper)))
158 evas_object_hide(ed->clipper); 158 evas_object_hide(ed->clipper);
159 _edje_emit(ed, "hide", ""); 159 _edje_emit(ed, "hide", NULL);
160} 160}
161 161
162static void 162static void
@@ -167,7 +167,7 @@ _edje_smart_color_set(Evas_Object * obj, int r, int g, int b, int a)
167 ed = evas_object_smart_data_get(obj); 167 ed = evas_object_smart_data_get(obj);
168 if (!ed) return; 168 if (!ed) return;
169 evas_object_color_set(ed->clipper, r, g, b, a); 169 evas_object_color_set(ed->clipper, r, g, b, a);
170// _edje_emit(ed, "color_set", ""); 170// _edje_emit(ed, "color_set", NULL);
171} 171}
172 172
173static void 173static void
@@ -179,7 +179,7 @@ _edje_smart_clip_set(Evas_Object * obj, Evas_Object * clip)
179 if (!ed) return; 179 if (!ed) return;
180 if (evas_object_clip_get(obj) == clip) return; 180 if (evas_object_clip_get(obj) == clip) return;
181 evas_object_clip_set(ed->clipper, clip); 181 evas_object_clip_set(ed->clipper, clip);
182// _edje_emit(ed, "clip_set", ""); 182// _edje_emit(ed, "clip_set", NULL);
183} 183}
184 184
185static void 185static void
@@ -191,5 +191,5 @@ _edje_smart_clip_unset(Evas_Object * obj)
191 if (!ed) return; 191 if (!ed) return;
192 if (!evas_object_clip_get(obj)) return; 192 if (!evas_object_clip_get(obj)) return;
193 evas_object_clip_unset(ed->clipper); 193 evas_object_clip_unset(ed->clipper);
194// _edje_emit(ed, "clip_unset", ""); 194// _edje_emit(ed, "clip_unset", NULL);
195} 195}