Amazingly, it worked the first time! Just a quick logic error here.
This commit is contained in:
parent
66ca3315cf
commit
7a40bdfb3f
|
@ -64,7 +64,7 @@ static void setEditable(uiTableModel *m, GtkTreeIter *iter, int modelColumn, Gtk
|
||||||
editable = g_value_get_int(&value) != 0;
|
editable = g_value_get_int(&value) != 0;
|
||||||
g_value_unset(&value);
|
g_value_unset(&value);
|
||||||
}
|
}
|
||||||
g_object_set(r, "editable", editable, NULL);
|
g_object_set(r, prop, editable, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void applyBackgroundColor(uiTable *t, GtkTreeModel *m, GtkTreeIter *iter, GtkCellRenderer *r)
|
static void applyBackgroundColor(uiTable *t, GtkTreeModel *m, GtkTreeIter *iter, GtkCellRenderer *r)
|
||||||
|
|
Loading…
Reference in New Issue