Bug 18493

Summary: GNOME Goal: Remove deprecated GLib symbols
Product: swfdec Reporter: Luis Menina <liberforce>
Component: libraryAssignee: swfdec ml <swfdec>
Status: RESOLVED FIXED QA Contact: swfdec ml <swfdec>
Severity: enhancement    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Luis Menina 2008-11-11 19:08:14 UTC
See http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib
Here are the files+lines using deprecated GLib symbols in this module:

swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:62:      ((tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1)) ||
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:63:       (tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2))))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:71:      if (f->name_length == 4 && !g_strncasecmp (f->name, "font", 4)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:134:  if (tag->name_length == 10 && !g_strncasecmp (tag->name, "textformat", 10))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:136:    if (name_length == 10 && !g_strncasecmp (name, "leftmargin", 10))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:140:    else if (name_length == 11 && !g_strncasecmp (name, "rightmargin", 11))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:144:    else if (name_length == 6 && !g_strncasecmp (name, "indent", 6))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:148:    else if (name_length == 11 && !g_strncasecmp (name, "blockindent", 11))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:152:    else if (name_length == 8 && !g_strncasecmp (name, "tabstops", 8))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:158:  else if (tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:160:    if (name_length == 5 && !g_strncasecmp (name, "align", 5))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:165:  else if (tag->name_length == 4 && !g_strncasecmp (tag->name, "font", 4))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:167:    if (name_length == 4 && !g_strncasecmp (name, "face", 4))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:171:    else if (name_length == 4 && !g_strncasecmp (name, "size", 4))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:175:    else if (name_length == 5 && !g_strncasecmp (name, "color", 5))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:193:    else if (name_length == 13 && !g_strncasecmp (name, "letterspacing", 13))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:200:  else if (tag->name_length == 1 && !g_strncasecmp (tag->name, "a", 1))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:202:    if (name_length == 4 && !g_strncasecmp (name, "href", 4))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:206:    else if (name_length == 6 && !g_strncasecmp (name, "target", 6))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:213:      ((tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2)) ||
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:214:      (tag->name_length == 4 && !g_strncasecmp (tag->name, "span", 4)) ||
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:215:      (tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1))))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:217:    if (name_length == 5 && !g_strncasecmp (name, "class", 5)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:316:    if (name_length == 1 && !g_strncasecmp (name, "p", 1)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:323:	if (tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:333:	  if ((tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2)) ||
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:335:	       !g_strncasecmp (tag->name, "textformat", 10)))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:348:	    !g_strncasecmp (name, tag->name, name_length))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:362:    if (name_length == 3 && !g_strncasecmp (name, "tab", 3))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:366:      if (name_length == 2 && !g_strncasecmp (name, "br", 2))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:370:      else if (name_length == 2 && !g_strncasecmp (name, "li", 1))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:392:      if (tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:394:      } else if (tag->name_length == 1 && !g_strncasecmp (tag->name, "b", 1)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:396:      } else if (tag->name_length == 1 && !g_strncasecmp (tag->name, "i", 1)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:398:      } else if (tag->name_length == 1 && !g_strncasecmp (tag->name, "u", 1)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:401:      else if (tag->name_length == 3 && !g_strncasecmp (tag->name, "img", 3))
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:408:	((tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2)) ||
swfdec-0.8.0/swfdec/swfdec_text_field_movie_html.c:409:	(tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1)))) {
swfdec-0.8.0/swfdec/swfdec_as_array.c:969:      retval = g_strcasecmp (a_str, b_str);
swfdec-0.8.0/swfdec/swfdec_text_field_movie_as.c:375:  if (!g_strcasecmp (value, SWFDEC_AS_STR_input)) {
swfdec-0.8.0/swfdec/swfdec_text_field_movie_as.c:377:  } else if (!g_strcasecmp (value, SWFDEC_AS_STR_dynamic)) {
Comment 1 Benjamin Otte 2008-11-14 06:52:12 UTC
fix committed to git in commit 5cb5bfd415cdd1ef5d4f4581815f55fe9259bd1e

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.