mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 13:25:37 +00:00
Add nullptr check to on_cell_data_render(), just in case.
This commit is contained in:
@@ -203,6 +203,9 @@ class GscMainWindowIconView : public Gtk::IconView {
|
||||
{
|
||||
Gtk::TreeRow row = *iter;
|
||||
Glib::RefPtr<Gdk::Pixbuf> pixbuf = row[col_pixbuf];
|
||||
if (!pixbuf) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Gtkmm property_surface() doesn't work, so use plain C.
|
||||
// https://bugzilla.gnome.org/show_bug.cgi?id=788513
|
||||
|
||||
Reference in New Issue
Block a user