From 8ef9f0668c383b117b7f2ae6ddacb7dd38c1a543 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 3 May 2019 12:08:36 +0200 Subject: Remove unused variables --- mate-dictionary/src/gdict-pref-dialog.c | 2 +- mate-dictionary/src/gdict-window.c | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'mate-dictionary/src') diff --git a/mate-dictionary/src/gdict-pref-dialog.c b/mate-dictionary/src/gdict-pref-dialog.c index 5975c686..d6dbcab2 100644 --- a/mate-dictionary/src/gdict-pref-dialog.c +++ b/mate-dictionary/src/gdict-pref-dialog.c @@ -408,7 +408,7 @@ source_edit_clicked_cb (GtkButton *button, GtkTreeModel *model; GtkTreeIter iter; gboolean is_selected; - gchar *name, *description; + gchar *name; selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (dialog->sources_view)); if (!selection) diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c index b5e371fd..7921537c 100644 --- a/mate-dictionary/src/gdict-window.c +++ b/mate-dictionary/src/gdict-window.c @@ -851,8 +851,6 @@ gdict_window_load_state (GdictWindow *window) { gchar *state_file; GKeyFile *state_key; - gchar *data; - gsize data_len; GError *error; state_file = g_build_filename (g_get_user_config_dir (), @@ -1628,7 +1626,6 @@ gdict_window_constructor (GType type, { GObject *object; GdictWindow *window; - gboolean is_maximized; GtkWidget *hbox; GtkWidget *handle; GtkWidget *frame1, *frame2; @@ -1637,12 +1634,10 @@ gdict_window_constructor (GType type, GtkActionGroup *action_group; GtkAccelGroup *accel_group; PangoFontDescription *font_desc; - gchar *font_name, *sidebar_page; + gchar *font_name; GError *error; - gboolean sidebar_visible; - gboolean statusbar_visible; GtkAllocation allocation; - + object = G_OBJECT_CLASS (gdict_window_parent_class)->constructor (type, n_construct_properties, construct_params); window = GDICT_WINDOW (object); -- cgit v1.2.1