summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-03-20 14:03:29 +0200
committerYoungbok Shin <youngb.shin@samsung.com>2016-03-22 14:30:46 +0900
commitffdaf7f3183ddfca10c9b7918306f11a19ce66c8 (patch)
tree0f7feb6f20996ba7d9a74d7600556efbb636c4d7
parentda924d852111e8f317238c024dcba9d7738823b6 (diff)
Label: Remove unused 'lastw' field
-rw-r--r--src/lib/elm_label.c1
-rw-r--r--src/lib/elm_widget_label.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c
index 8203022da..a191fe33d 100644
--- a/src/lib/elm_label.c
+++ b/src/lib/elm_label.c
@@ -344,7 +344,6 @@ _elm_label_wrap_width_set(Eo *obj, Elm_Label_Data *sd, Evas_Coord w)
344 if (sd->ellipsis) 344 if (sd->ellipsis)
345 _label_format_set(obj, sd->format); 345 _label_format_set(obj, sd->format);
346 sd->wrap_w = w; 346 sd->wrap_w = w;
347 sd->lastw = -1;
348 347
349 elm_layout_sizing_eval(obj); 348 elm_layout_sizing_eval(obj);
350} 349}
diff --git a/src/lib/elm_widget_label.h b/src/lib/elm_widget_label.h
index e2a02d234..ae21acf02 100644
--- a/src/lib/elm_widget_label.h
+++ b/src/lib/elm_widget_label.h
@@ -20,7 +20,6 @@ struct _Elm_Label_Data
20 const char *format; 20 const char *format;
21 double slide_duration; 21 double slide_duration;
22 double slide_speed; 22 double slide_speed;
23 Evas_Coord lastw; /*<< lastly calculated resize object width.This is used to force the calculation on width changes. */
24 Evas_Coord wrap_w; /*<< wrap width by pixel for the line wrap support **/ 23 Evas_Coord wrap_w; /*<< wrap width by pixel for the line wrap support **/
25 Elm_Wrap_Type linewrap; 24 Elm_Wrap_Type linewrap;
26 Elm_Label_Slide_Mode slide_mode; 25 Elm_Label_Slide_Mode slide_mode;