gtk_list_store_set (GTK_LIST_STORE (priv->model), &iter,
ICON_COLUMN, pixbuf,
-1);
+
+ if (pixbuf)
+ g_object_unref (pixbuf);
}
while (gtk_tree_model_iter_next (priv->model, &iter));
DATA_COLUMN, path,
-1);
- g_object_unref (pixbuf);
+ if (pixbuf)
+ g_object_unref (pixbuf);
button->priv->n_special++;
#ifndef G_OS_WIN32
DATA_COLUMN, path,
-1);
- g_object_unref (pixbuf);
+ if (pixbuf)
+ g_object_unref (pixbuf);
button->priv->n_special++;
}
}
DATA_COLUMN, volumes->data,
-1);
- g_object_unref (pixbuf);
+ if (pixbuf)
+ g_object_unref (pixbuf);
g_free (display_name);
button->priv->n_volumes++;