Started applying new uipriv names to table.c. Let's let the compiler tell us what we missed.

This commit is contained in:
Pietro Gagliardi 2018-05-12 13:59:22 -04:00
parent fd65a065c6
commit 0b8e86e4f8
1 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ static void dataFunc(GtkTreeViewColumn *c, GtkCellRenderer *r, GtkTreeModel *mm,
gtk_tree_model_get_value(mm, iter, part->imageColumn, &value); gtk_tree_model_get_value(mm, iter, part->imageColumn, &value);
img = (uiImage *) g_value_get_pointer(&value); img = (uiImage *) g_value_get_pointer(&value);
g_object_set(r, "surface", g_object_set(r, "surface",
imageAppropriateSurface(img, part->tv->treeWidget), uiprivImageAppropriateSurface(img, part->tv->treeWidget),
NULL); NULL);
break; break;
case partButton: case partButton:
@ -503,7 +503,7 @@ void uiTableColumnAppendButtonPart(uiTableColumn *c, int modelColumn, int expand
part->textColumn = modelColumn; part->textColumn = modelColumn;
part->tv = c->tv; part->tv = c->tv;
r = newCellRendererButton(); r = uiprivNewCellRendererButton();
g_object_set(r, "sensitive", TRUE, NULL); // editable by default g_object_set(r, "sensitive", TRUE, NULL); // editable by default
g_signal_connect(r, "clicked", G_CALLBACK(buttonClicked), part); g_signal_connect(r, "clicked", G_CALLBACK(buttonClicked), part);