}
}
- while (gtk_events_pending()) {
- gtk_main_iteration();
- }
/* get new path and move cursor to it */
path = gtk_tree_path_new_from_indices(comp.active, -1);
gtk_tree_view_set_cursor(tree, path, NULL, false);
void vb_echo_force(const MessageType type, gboolean hide, const char *error, ...)
{
- char message[255];
+ char message[BUF_SIZE];
va_list arg_list;
va_start(arg_list, error);
- vsnprintf(message, 255, error, arg_list);
+ vsnprintf(message, BUF_SIZE, error, arg_list);
va_end(arg_list);
inputbox_print(true, type, hide, message);
void vb_echo(const MessageType type, gboolean hide, const char *error, ...)
{
- char message[255];
+ char message[BUF_SIZE];
va_list arg_list;
va_start(arg_list, error);
- vsnprintf(message, 255, error, arg_list);
+ vsnprintf(message, BUF_SIZE, error, arg_list);
va_end(arg_list);
inputbox_print(false, type, hide, message);