libpurple/protocols/msn/state.c

branch
next.minor
changeset 29686
f9dee36112d0
parent 29281
276f50ebf4d3
parent 29491
31c1d615772e
child 29689
dee2d04f22bb
equal deleted inserted replaced
29285:3180b88b4c1b 29686:f9dee36112d0
110 * If 'Music': 110 * If 'Music':
111 * 5: Artist 111 * 5: Artist
112 * 6: Album 112 * 6: Album
113 * 7: ? 113 * 7: ?
114 */ 114 */
115 #if GLIB_CHECK_VERSION(2,6,0)
116 strings = g_strv_length(cmedia_array); 115 strings = g_strv_length(cmedia_array);
117 #else
118 while (cmedia_array[++strings] != NULL);
119 #endif
120 116
121 if (strings >= 4 && !strcmp(cmedia_array[2], "1")) { 117 if (strings >= 4 && !strcmp(cmedia_array[2], "1")) {
122 media = g_new(CurrentMedia, 1); 118 media = g_new(CurrentMedia, 1);
123 119
124 if (!strcmp(cmedia_array[1], "Music")) 120 if (!strcmp(cmedia_array[1], "Music"))

mercurial