summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 23:22:26 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-10-21 23:22:26 +0000
commite22f36e214ba4fc82180b2f01006c002875ffca5 (patch)
treea6e57a67d263c4534d434a770438a8c30137af6d /legacy
parent4ce2a15b7702b5ba1c9ed888d7737bca1cf11b6d (diff)
deprecate elm_genlist/grid_item_selected_get -> elm_gen_item_selected_get
SVN revision: 64279
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/Elementary.h.in4
-rw-r--r--legacy/elementary/src/lib/elm_gengrid.c4
-rw-r--r--legacy/elementary/src/lib/elm_genlist.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in
index 2ebbd33d79..97fe4d69bd 100644
--- a/legacy/elementary/src/lib/Elementary.h.in
+++ b/legacy/elementary/src/lib/Elementary.h.in
@@ -8952,7 +8952,7 @@ extern "C" {
8952 * 8952 *
8953 * @ingroup Gengrid 8953 * @ingroup Gengrid
8954 */ 8954 */
8955 EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1); 8955 EINA_DEPRECATED EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8956 8956
8957 /** 8957 /**
8958 * Get the real Evas object created to implement the view of a 8958 * Get the real Evas object created to implement the view of a
@@ -18864,7 +18864,7 @@ extern "C" {
18864 * 18864 *
18865 * @ingroup Genlist 18865 * @ingroup Genlist
18866 */ 18866 */
18867 EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1); 18867 EINA_DEPRECATED EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18868 /** 18868 /**
18869 * Sets the expanded state of an item. 18869 * Sets the expanded state of an item.
18870 * 18870 *
diff --git a/legacy/elementary/src/lib/elm_gengrid.c b/legacy/elementary/src/lib/elm_gengrid.c
index d39ddda303..a3aec10592 100644
--- a/legacy/elementary/src/lib/elm_gengrid.c
+++ b/legacy/elementary/src/lib/elm_gengrid.c
@@ -363,7 +363,7 @@ _item_multi_select_left(Widget_Data *wd)
363 363
364 Elm_Gen_Item *prev = elm_gengrid_item_prev_get(wd->last_selected_item); 364 Elm_Gen_Item *prev = elm_gengrid_item_prev_get(wd->last_selected_item);
365 if (!prev) return EINA_TRUE; 365 if (!prev) return EINA_TRUE;
366 if (elm_gengrid_item_selected_get(prev)) 366 if (elm_gen_item_selected_get(prev))
367 { 367 {
368 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE); 368 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
369 wd->last_selected_item = prev; 369 wd->last_selected_item = prev;
@@ -385,7 +385,7 @@ _item_multi_select_right(Widget_Data *wd)
385 385
386 Elm_Gen_Item *next = elm_gengrid_item_next_get(wd->last_selected_item); 386 Elm_Gen_Item *next = elm_gengrid_item_next_get(wd->last_selected_item);
387 if (!next) return EINA_TRUE; 387 if (!next) return EINA_TRUE;
388 if (elm_gengrid_item_selected_get(next)) 388 if (elm_gen_item_selected_get(next))
389 { 389 {
390 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE); 390 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
391 wd->last_selected_item = next; 391 wd->last_selected_item = next;
diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c
index 8f56c670bf..9473087ce7 100644
--- a/legacy/elementary/src/lib/elm_genlist.c
+++ b/legacy/elementary/src/lib/elm_genlist.c
@@ -430,7 +430,7 @@ _item_multi_select_up(Widget_Data *wd)
430 Elm_Gen_Item *prev = elm_genlist_item_prev_get(wd->last_selected_item); 430 Elm_Gen_Item *prev = elm_genlist_item_prev_get(wd->last_selected_item);
431 if (!prev) return EINA_TRUE; 431 if (!prev) return EINA_TRUE;
432 432
433 if (elm_genlist_item_selected_get(prev)) 433 if (elm_gen_item_selected_get(prev))
434 { 434 {
435 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE); 435 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
436 wd->last_selected_item = prev; 436 wd->last_selected_item = prev;
@@ -453,7 +453,7 @@ _item_multi_select_down(Widget_Data *wd)
453 Elm_Gen_Item *next = elm_genlist_item_next_get(wd->last_selected_item); 453 Elm_Gen_Item *next = elm_genlist_item_next_get(wd->last_selected_item);
454 if (!next) return EINA_TRUE; 454 if (!next) return EINA_TRUE;
455 455
456 if (elm_genlist_item_selected_get(next)) 456 if (elm_gen_item_selected_get(next))
457 { 457 {
458 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE); 458 elm_gen_item_selected_set(wd->last_selected_item, EINA_FALSE);
459 wd->last_selected_item = next; 459 wd->last_selected_item = next;