summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-05-03 12:08:36 +0200
committerraveit65 <[email protected]>2019-05-07 16:56:56 +0200
commit8ef9f0668c383b117b7f2ae6ddacb7dd38c1a543 (patch)
tree63bc1d22c67fe6109ff5204374929e20c5bc1374 /mate-dictionary
parentd0a3797e331007434a42a3e9d753d1904ed9cf3a (diff)
downloadmate-utils-8ef9f0668c383b117b7f2ae6ddacb7dd38c1a543.tar.bz2
mate-utils-8ef9f0668c383b117b7f2ae6ddacb7dd38c1a543.tar.xz
Remove unused variables
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/src/gdict-pref-dialog.c2
-rw-r--r--mate-dictionary/src/gdict-window.c9
2 files changed, 3 insertions, 8 deletions
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);