comparison src/gtkstatusbox.c @ 11885:163104122522

[gaim-migrate @ 14176] I thought I committed this leak fix yesterday? committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 29 Oct 2005 02:08:29 +0000
parents 678ef9ad7a0d
children f1ada7870fae
comparison
equal deleted inserted replaced
11884:b1099e09eb33 11885:163104122522
383 static gboolean 383 static gboolean
384 dropdown_store_row_separator_func(GtkTreeModel *model, 384 dropdown_store_row_separator_func(GtkTreeModel *model,
385 GtkTreeIter *iter, gpointer data) 385 GtkTreeIter *iter, gpointer data)
386 { 386 {
387 GtkGaimStatusBoxItemType type; 387 GtkGaimStatusBoxItemType type;
388 GdkPixbuf *pixbuf; 388
389 gchar *text, *title, *description; 389 gtk_tree_model_get(model, iter, TYPE_COLUMN, &type, -1);
390
391 gtk_tree_model_get(model, iter,
392 TYPE_COLUMN, &type,
393 ICON_COLUMN, &pixbuf,
394 TEXT_COLUMN, &text,
395 TITLE_COLUMN, &title,
396 DESC_COLUMN, &description,
397 -1);
398 390
399 if (type == GTK_GAIM_STATUS_BOX_TYPE_SEPARATOR) 391 if (type == GTK_GAIM_STATUS_BOX_TYPE_SEPARATOR)
400 return TRUE; 392 return TRUE;
401 393
402 return FALSE; 394 return FALSE;