static LogWindow *logwindow = nullptr;
-static void hide_cb(GtkWidget *UNUSED(widget), LogWindow *UNUSED(logwin))
+static void hide_cb(GtkWidget *, LogWindow *)
{
}
* <options->log_window.action> <selected text>
*
*/
-static gboolean key_pressed(GtkWidget *UNUSED(widget), GdkEventKey *event, LogWindow *logwin)
+static gboolean key_pressed(GtkWidget *, GdkEventKey *event, LogWindow *logwin)
{
GtkTextBuffer *buffer;
GtkTextIter chr_end;
}
-static void log_window_pause_cb(GtkWidget *UNUSED(widget), gpointer UNUSED(data))
+static void log_window_pause_cb(GtkWidget *, gpointer)
{
options->log_window.paused = !options->log_window.paused;
}
-static void log_window_line_wrap_cb(GtkWidget *UNUSED(widget), gpointer data)
+static void log_window_line_wrap_cb(GtkWidget *, gpointer data)
{
auto logwin = static_cast<LogWindow *>(data);
}
}
-static void log_window_timer_data_cb(GtkWidget *UNUSED(widget), gpointer UNUSED(data))
+static void log_window_timer_data_cb(GtkWidget *, gpointer)
{
options->log_window.timer_data = !options->log_window.timer_data;
}
-static void log_window_regexp_cb(GtkWidget *text_entry, gpointer UNUSED(data))
+static void log_window_regexp_cb(GtkWidget *text_entry, gpointer)
{
gchar *new_regexp;
}
}
-static void search_activate_event(GtkEntry *UNUSED(widget), LogWindow *logwin)
+static void search_activate_event(GtkEntry *, LogWindow *logwin)
{
GtkTextIter start_find;
GtkTextIter start_match;
}
}
-static gboolean search_keypress_event(GtkWidget *UNUSED(widget), GdkEventKey *UNUSED(event), LogWindow *logwin, LogWindowSearchDirection direction)
+static gboolean search_keypress_event(GtkWidget *, GdkEventKey *, LogWindow *logwin, LogWindowSearchDirection direction)
{
GtkTextIter start_find;
GtkTextIter start_match;
return FALSE;
}
-static gboolean debug_changed_cb(GtkSpinButton *widget, LogWindow *UNUSED(logwin))
+static gboolean debug_changed_cb(GtkSpinButton *widget, LogWindow *)
{
set_debug_level((gtk_spin_button_get_value(widget)));
return FALSE;
}
-static void search_entry_icon_cb(GtkEntry *UNUSED(entry), GtkEntryIconPosition pos, GdkEvent *UNUSED(event), gpointer userdata)
+static void search_entry_icon_cb(GtkEntry *, GtkEntryIconPosition pos, GdkEvent *, gpointer userdata)
{
auto logwin = static_cast<LogWindow *>(userdata);
GtkTextIter start_find;
}
}
-static void filter_entry_icon_cb(GtkEntry *entry, GtkEntryIconPosition UNUSED(pos), GdkEvent *UNUSED(event), gpointer UNUSED(userdata))
+static void filter_entry_icon_cb(GtkEntry *entry, GtkEntryIconPosition, GdkEvent *, gpointer)
{
const gchar *blank = "";
gtk_entry_set_text(entry, blank);