summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:02:13 +0200
committerraveit65 <[email protected]>2021-12-11 15:21:36 +0100
commit09674ba9f9b9d6b6cb4b88d9fe81c30aaccef8e6 (patch)
tree56cfb36680aa163f98f4aea05237882be00f8069 /applets/wncklet
parent7ded0f4d0a518169453c90f3c278f78e7345051b (diff)
downloadmate-panel-09674ba9f9b9d6b6cb4b88d9fe81c30aaccef8e6.tar.bz2
mate-panel-09674ba9f9b9d6b6cb4b88d9fe81c30aaccef8e6.tar.xz
Use a blank line at most
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/showdesktop.c1
-rw-r--r--applets/wncklet/showdesktop.h1
-rw-r--r--applets/wncklet/wayland-backend.c1
-rw-r--r--applets/wncklet/wayland-backend.h2
-rw-r--r--applets/wncklet/window-list.c5
-rw-r--r--applets/wncklet/wncklet.c1
-rw-r--r--applets/wncklet/workspace-switcher.c3
7 files changed, 0 insertions, 14 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index aabc1a63..b3d7a54f 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -43,7 +43,6 @@
#define TIMEOUT_ACTIVATE_SECONDS 1
#define SHOW_DESKTOP_ICON "user-desktop"
-
typedef struct {
/* widgets */
GtkWidget* applet;
diff --git a/applets/wncklet/showdesktop.h b/applets/wncklet/showdesktop.h
index e82ed713..7aa7e60d 100644
--- a/applets/wncklet/showdesktop.h
+++ b/applets/wncklet/showdesktop.h
@@ -39,4 +39,3 @@ gboolean show_desktop_applet_fill(MatePanelApplet* applet);
#endif
-
diff --git a/applets/wncklet/wayland-backend.c b/applets/wncklet/wayland-backend.c
index a6f50a77..00d96025 100644
--- a/applets/wncklet/wayland-backend.c
+++ b/applets/wncklet/wayland-backend.c
@@ -268,7 +268,6 @@ foreign_toplevel_handle_closed (void *data,
gtk_widget_destroy (task->button);
}
-
static const struct zwlr_foreign_toplevel_handle_v1_listener foreign_toplevel_handle_listener = {
.title = foreign_toplevel_handle_title,
.app_id = foreign_toplevel_handle_app_id,
diff --git a/applets/wncklet/wayland-backend.h b/applets/wncklet/wayland-backend.h
index 0ea4634a..e2402236 100644
--- a/applets/wncklet/wayland-backend.h
+++ b/applets/wncklet/wayland-backend.h
@@ -38,11 +38,9 @@ extern "C" {
GtkWidget* wayland_tasklist_new (void);
void wayland_tasklist_set_orientation (GtkWidget* tasklist_widget, GtkOrientation orient);
-
#ifdef __cplusplus
}
#endif
#endif /* _WNCKLET_APPLET_WAYLAND_BACKEND_H_ */
-
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index dc36b89b..cca13b30 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -603,7 +603,6 @@ static void tasklist_update_unminimization_radio(TasklistData* tasklist)
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
}
-
static void move_unminimized_windows_changed(GSettings* settings, gchar* key, TasklistData* tasklist)
{
gboolean value;
@@ -844,7 +843,6 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
gtk_action_group_set_translation_domain(action_group, GETTEXT_PACKAGE);
gtk_action_group_add_actions(action_group, tasklist_menu_actions, G_N_ELEMENTS(tasklist_menu_actions), tasklist);
-
/* disable the item of system monitor, if not exists.
* example, mate-system-monitor, o gnome-system-monitor */
char* programpath;
@@ -870,7 +868,6 @@ gboolean window_list_applet_fill(MatePanelApplet* applet)
_system_monitor_found:;
/* end of system monitor item */
-
mate_panel_applet_setup_menu_from_resource (MATE_PANEL_APPLET (tasklist->applet),
WNCKLET_RESOURCE_PATH "window-list-menu.xml",
action_group);
@@ -912,7 +909,6 @@ static void call_system_monitor(GtkAction* action, TasklistData* tasklist)
}
}
-
static void display_help_dialog(GtkAction* action, TasklistData* tasklist)
{
wncklet_display_help(tasklist->applet, "mate-user-guide", "windowlist", WINDOW_LIST_ICON);
@@ -1026,7 +1022,6 @@ static void setup_dialog(GtkBuilder* builder, TasklistData* tasklist)
{
GtkWidget* button;
-
tasklist->wayland_info_label = WID("wayland_info_label");
tasklist->show_current_radio = WID("show_current_radio");
tasklist->show_all_radio = WID("show_all_radio");
diff --git a/applets/wncklet/wncklet.c b/applets/wncklet/wncklet.c
index 67b2ae78..3b185910 100644
--- a/applets/wncklet/wncklet.c
+++ b/applets/wncklet/wncklet.c
@@ -148,7 +148,6 @@ static gboolean wncklet_factory(MatePanelApplet* applet, const char* iid, gpoint
return retval;
}
-
#ifdef WNCKLET_INPROCESS
MATE_PANEL_APPLET_IN_PROCESS_FACTORY("WnckletFactory", PANEL_TYPE_APPLET, "WindowNavigationApplets", wncklet_factory, NULL)
#else
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index a58abce2..0e6c4afe 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -519,7 +519,6 @@ static void display_workspace_names_changed(GSettings* settings, gchar* key, Pag
}
}
-
static void all_workspaces_changed(GSettings* settings, gchar* key, PagerData* pager)
{
gboolean value = TRUE; /* Default value */
@@ -686,7 +685,6 @@ gboolean workspace_switcher_applet_fill(MatePanelApplet* applet)
return TRUE;
}
-
static void display_help_dialog(GtkAction* action, PagerData* pager)
{
wncklet_display_help(pager->applet, "mate-user-guide", "overview-workspaces", WORKSPACE_SWITCHER_ICON);
@@ -998,7 +996,6 @@ static void setup_dialog(GtkBuilder* builder, PagerData* pager)
if (marco_workspaces_settings != NULL)
g_object_unref (marco_workspaces_settings);
-
/* Wrap workspaces: */
if (pager->wrap_workspaces_toggle)
{