summaryrefslogtreecommitdiff
path: root/logview/src
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src')
-rw-r--r--logview/src/logview-filter-manager.c4
-rw-r--r--logview/src/logview-log.c1
-rw-r--r--logview/src/logview-window.c2
3 files changed, 1 insertions, 6 deletions
diff --git a/logview/src/logview-filter-manager.c b/logview/src/logview-filter-manager.c
index 44a21550..c4c5057b 100644
--- a/logview/src/logview-filter-manager.c
+++ b/logview/src/logview-filter-manager.c
@@ -170,7 +170,7 @@ on_dialog_add_edit_reponse (GtkWidget *dialog, int response_id,
LogviewFilterManager *manager)
{
GtkWidget *entry_name, *entry_regex;
- GtkWidget *radio_color, *radio_visible;
+ GtkWidget *radio_color;
GtkWidget *check_foreground, *check_background;
GtkWidget *color_foreground, *color_background;
gchar *old_name;
@@ -189,8 +189,6 @@ on_dialog_add_edit_reponse (GtkWidget *dialog, int response_id,
"entry_regex"));
radio_color = GTK_WIDGET (gtk_builder_get_object (builder,
"radio_color"));
- radio_visible = GTK_WIDGET (gtk_builder_get_object (builder,
- "radio_visible"));
check_foreground = GTK_WIDGET (gtk_builder_get_object (builder,
"check_foreground"));
check_background = GTK_WIDGET (gtk_builder_get_object (builder,
diff --git a/logview/src/logview-log.c b/logview/src/logview-log.c
index 407f49c3..272fb463 100644
--- a/logview/src/logview-log.c
+++ b/logview/src/logview-log.c
@@ -309,7 +309,6 @@ do_read_new_lines (GIOSchedulerJob *io_job,
log->priv->has_new_lines = FALSE;
/* we'll return only the new lines in the callback */
- line = g_ptr_array_index (lines, log->priv->lines_no);
job->lines = (const char **) lines->pdata + log->priv->lines_no;
/* save the new number of days and lines */
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c
index b7120812..602c3572 100644
--- a/logview/src/logview-window.c
+++ b/logview/src/logview-window.c
@@ -663,7 +663,6 @@ update_filter_menu (LogviewWindow *window)
GList *actions, *l;
guint id;
GList *filters;
- GtkTextBuffer *buffer;
GtkTextTagTable *table;
GtkTextTag *tag;
GtkToggleAction *action;
@@ -674,7 +673,6 @@ update_filter_menu (LogviewWindow *window)
g_return_if_fail (priv->filter_action_group != NULL);
- buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->text_view));
table = priv->tag_table;
if (priv->filter_merge_id != 0) {