pidgin/pidgindebug.c

changeset 42182
3fc2d2b7b7a8
parent 42175
4185b4043214
child 42352
1c53950f9052
equal deleted inserted replaced
42181:a39305511805 42182:3fc2d2b7b7a8
234 } 234 }
235 235
236 static void 236 static void
237 do_regex(PidginDebugWindow *win, GtkTextIter *start, GtkTextIter *end) 237 do_regex(PidginDebugWindow *win, GtkTextIter *start, GtkTextIter *end)
238 { 238 {
239 GError *error = NULL;
240 GMatchInfo *match; 239 GMatchInfo *match;
241 gint initial_position; 240 gint initial_position;
242 gint start_pos, end_pos; 241 gint start_pos, end_pos;
243 GtkTextIter match_start, match_end; 242 GtkTextIter match_start, match_end;
244 gchar *text; 243 gchar *text;
295 &match_start, 294 &match_start,
296 &match_end); 295 &match_end);
297 } 296 }
298 } 297 }
299 298
300 g_match_info_next(match, &error); 299 g_match_info_next(match, NULL);
301 } 300 }
302 301
303 g_match_info_free(match); 302 g_match_info_free(match);
304 g_free(text); 303 g_free(text);
305 } 304 }

mercurial