diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-13 03:07:27 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-13 03:07:27 +0100 |
commit | cf38c4a1e36ad79021d6b4f0b97eb1391181027f (patch) | |
tree | 3a41b3425d25d1291847069f8bbc2be4188fb269 /gg_map/gg_map.c | |
parent | actualy delete edges on conn del (diff) | |
download | glouglou-cf38c4a1e36ad79021d6b4f0b97eb1391181027f.tar.xz glouglou-cf38c4a1e36ad79021d6b4f0b97eb1391181027f.zip |
test egraph creation success *before* using it
Diffstat (limited to 'gg_map/gg_map.c')
-rw-r--r-- | gg_map/gg_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c index eae6bbc..24f3536 100644 --- a/gg_map/gg_map.c +++ b/gg_map/gg_map.c @@ -211,9 +211,9 @@ elm_main(int argc, char **argv) elm_object_part_content_set(panes, "left", bt); egraph = egraph_new(evas, 1); - egraph_layout_set(egraph, EGRAPH_LAYOUT_FRUCHTERMANREINGOLD); // XXX if (!egraph) goto quit; + egraph_layout_set(egraph, EGRAPH_LAYOUT_FRUCHTERMANREINGOLD); // XXX evas_object_size_hint_weight_set(egraph, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(egraph, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(egraph); |