mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-18 19:48:05 -05:00
Add a missing cast in g_object_set.
When NULL appears in variadic argument lists, it should be cast to the pointer type that the function will be expecting, because otherwise it might end up as a type not even the same size as a pointer.
This commit is contained in:
parent
55de891e54
commit
749b0fdda0
@ -2435,7 +2435,7 @@ GtkWidget *layout_ctrls(struct dlgparam *dp, struct Shortcuts *scs,
|
|||||||
g_object_set(G_OBJECT(cellrend),
|
g_object_set(G_OBJECT(cellrend),
|
||||||
"ellipsize", PANGO_ELLIPSIZE_END,
|
"ellipsize", PANGO_ELLIPSIZE_END,
|
||||||
"ellipsize-set", TRUE,
|
"ellipsize-set", TRUE,
|
||||||
NULL);
|
(const char *)NULL);
|
||||||
}
|
}
|
||||||
column = gtk_tree_view_column_new_with_attributes
|
column = gtk_tree_view_column_new_with_attributes
|
||||||
("heading", cellrend, "text", i+1, (char *)NULL);
|
("heading", cellrend, "text", i+1, (char *)NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user