summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/src')
-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);