From 09674ba9f9b9d6b6cb4b88d9fe81c30aaccef8e6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 18:02:13 +0200 Subject: Use a blank line at most --- libmate-panel-applet/mate-panel-applet-factory.c | 1 - libmate-panel-applet/mate-panel-applet.c | 3 --- libmate-panel-applet/mate-panel-applet.h | 1 - libmate-panel-applet/test-dbus-applet.c | 1 - 4 files changed, 6 deletions(-) (limited to 'libmate-panel-applet') diff --git a/libmate-panel-applet/mate-panel-applet-factory.c b/libmate-panel-applet/mate-panel-applet-factory.c index fb4cb549..326d742b 100644 --- a/libmate-panel-applet/mate-panel-applet-factory.c +++ b/libmate-panel-applet/mate-panel-applet-factory.c @@ -178,7 +178,6 @@ set_applet_constructor_properties (GObject *applet, } } - static void mate_panel_applet_factory_get_applet (MatePanelAppletFactory *factory, GDBusConnection *connection, diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index c08e5cc2..15d97585 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -1561,7 +1561,6 @@ mate_panel_applet_handle_background (MatePanelApplet *applet) 0, PANEL_PIXMAP_BACKGROUND, NULL, pattern); - cairo_pattern_destroy (pattern); break; @@ -2008,7 +2007,6 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) widget_class->realize = mate_panel_applet_realize; widget_class->key_press_event = mate_panel_applet_key_press_event; - gobject_class->finalize = mate_panel_applet_finalize; g_object_class_install_property (gobject_class, @@ -2430,7 +2428,6 @@ _mate_panel_applet_factory_main_internal (const gchar *factory_id, g_return_val_if_fail(callback != NULL, 1); g_assert(g_type_is_a(applet_type, PANEL_TYPE_APPLET)); - #ifdef HAVE_X11 if (GDK_IS_X11_DISPLAY (gdk_display_get_default ())) { /*Use this both in and out of process as the tray applet always uses GtkSocket diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h index 85eb0d4d..9cc48ae8 100644 --- a/libmate-panel-applet/mate-panel-applet.h +++ b/libmate-panel-applet/mate-panel-applet.h @@ -134,7 +134,6 @@ int mate_panel_applet_factory_setup_in_process (const gchar MatePanelAppletFactoryCallback callback, gpointer data); - /* * These macros are getting a bit unwieldy. * diff --git a/libmate-panel-applet/test-dbus-applet.c b/libmate-panel-applet/test-dbus-applet.c index bfd00e5e..27c3a308 100644 --- a/libmate-panel-applet/test-dbus-applet.c +++ b/libmate-panel-applet/test-dbus-applet.c @@ -202,7 +202,6 @@ test_applet_factory (TestApplet *applet, return retval; } - MATE_PANEL_APPLET_OUT_PROCESS_FACTORY ("TestAppletFactory", test_applet_get_type (), "A Test Applet for the MATE-3.0 Panel", -- cgit v1.2.1