gtk_label_set_label(label, string); // The second argument has to be a string. Try g_snprintf to save anything in a string.