X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=contrib%2Fbrushexport%2Fcallbacks.cpp;h=9d34c926778e40c5521cb3e681f74d581280cbc1;hp=1225d00f877dc4374824cc77dfcb42c1122b09a0;hb=68159d9ed443f990fecf207847408a673eb641f7;hpb=995104ef44017718abbf7d9b0580eba19f780ad8 diff --git a/contrib/brushexport/callbacks.cpp b/contrib/brushexport/callbacks.cpp index 1225d00f..9d34c926 100644 --- a/contrib/brushexport/callbacks.cpp +++ b/contrib/brushexport/callbacks.cpp @@ -33,7 +33,7 @@ void OnExportClicked(GtkButton* button, gpointer user_data) GtkListStore* list = GTK_LIST_STORE(gtk_tree_view_get_model(view)); GtkTreeIter iter; - bool valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(list), &iter); + gboolean valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(list), &iter); while(valid) { gchar* data;