From 8281e9833a31d8731e8dd405fea2b1138dcc4ff8 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:46:47 +0200 Subject: Use a blank line at most --- mateweather/src/main.c | 1 - mateweather/src/mateweather-applet.c | 2 -- mateweather/src/mateweather-pref.c | 2 -- mateweather/src/mateweather-pref.h | 3 --- 4 files changed, 8 deletions(-) (limited to 'mateweather') diff --git a/mateweather/src/main.c b/mateweather/src/main.c index de8d8436..f472fa23 100644 --- a/mateweather/src/main.c +++ b/mateweather/src/main.c @@ -26,7 +26,6 @@ #include "mateweather-dialog.h" #include "mateweather-applet.h" - static gboolean mateweather_applet_new(MatePanelApplet* applet, const gchar* iid, gpointer data) { MateWeatherApplet* gw_applet; diff --git a/mateweather/src/mateweather-applet.c b/mateweather/src/mateweather-applet.c index 3165607e..098b620d 100644 --- a/mateweather/src/mateweather-applet.c +++ b/mateweather/src/mateweather-applet.c @@ -105,7 +105,6 @@ static void update_cb (GtkAction *action, mateweather_update (gw_applet); } - static const GtkActionEntry weather_applet_menu_actions [] = { { "Details", NULL, N_("_Details"), NULL, NULL, @@ -523,7 +522,6 @@ gint suncalc_timeout_cb (gpointer data) return 0; /* Do not repeat timeout (will be reset by update_finish) */ } - void mateweather_update (MateWeatherApplet *gw_applet) { WeatherPrefs prefs; diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c index 12ef8864..d7ffe868 100644 --- a/mateweather/src/mateweather-pref.c +++ b/mateweather/src/mateweather-pref.c @@ -798,7 +798,6 @@ on_response (GtkDialog *dialog, } } - static void mateweather_pref_create (MateWeatherPref* pref) { @@ -834,7 +833,6 @@ mateweather_pref_create (MateWeatherPref* pref) GtkWidget* pref_find_hbox; GtkWidget* image; - g_object_set (pref, "destroy-with-parent", TRUE, NULL); gtk_window_set_title (GTK_WINDOW (pref), _("Weather Preferences")); gtk_dialog_add_buttons (GTK_DIALOG (pref), "gtk-close", GTK_RESPONSE_CLOSE, "gtk-help", GTK_RESPONSE_HELP, NULL); diff --git a/mateweather/src/mateweather-pref.h b/mateweather/src/mateweather-pref.h index f3cc901b..c2470a78 100644 --- a/mateweather/src/mateweather-pref.h +++ b/mateweather/src/mateweather-pref.h @@ -40,7 +40,6 @@ struct _MateWeatherPref MateWeatherPrefPrivate *priv; }; - struct _MateWeatherPrefClass { GtkDialogClass parent_class; @@ -49,10 +48,8 @@ struct _MateWeatherPrefClass GType mateweather_pref_get_type (void); GtkWidget *mateweather_pref_new (MateWeatherApplet *applet); - void set_access_namedesc (GtkWidget *widget, const gchar *name, const gchar *desc); - G_END_DECLS #endif /* __MATEWEATHER_PREF_H */ -- cgit v1.2.1