From 06ec8896af725b80d9adc7f94699001b0dc23489 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 8 Apr 2020 11:59:34 +0200 Subject: Remove unused-variable warnings --- mateweather/mateweather-dialog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mateweather/mateweather-dialog.c') diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c index b6a67b14..b84f94c8 100644 --- a/mateweather/mateweather-dialog.c +++ b/mateweather/mateweather-dialog.c @@ -60,14 +60,14 @@ G_DEFINE_TYPE_WITH_PRIVATE (MateWeatherDialog, mateweather_dialog, GTK_TYPE_DIAL static void mateweather_dialog_save_geometry(MateWeatherDialog* dialog) { +#if 0 GSettings* settings; int w, h; - settings = dialog->priv->applet->settings; + gtk_window_get_size (GTK_WINDOW (dialog), &w, &h); - gtk_window_get_size(GTK_WINDOW(dialog), &w, &h); + settings = dialog->priv->applet->settings; -#if 0 /* FIXME those keys are not in org.mate.weather! */ g_settings_set_int (settings, "dialog-width", w); g_settings_set_int (settings, "dialog-height", h); @@ -76,12 +76,12 @@ static void mateweather_dialog_save_geometry(MateWeatherDialog* dialog) static void mateweather_dialog_load_geometry(MateWeatherDialog* dialog) { +#if 0 GSettings* settings; int w, h; settings = dialog->priv->applet->settings; -#if 0 /* FIXME those keys are not in org.mate.weather! */ w = g_settings_get_int (settings, "dialog-width"); h = g_settings_get_int (settings, "dialog-height"); -- cgit v1.2.1