diff options
author | rbuj <[email protected]> | 2021-10-27 18:00:56 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-11 16:08:17 +0100 |
commit | c6b9276aa54e8d320d0a3f480404393711463dfd (patch) | |
tree | 4b945d8d5471dfc0d0338d68ef14abf339c8358b /src/themes | |
parent | c2823eeafa140917a87fccff91dcf2967d93b393 (diff) | |
download | mate-notification-daemon-c6b9276aa54e8d320d0a3f480404393711463dfd.tar.bz2 mate-notification-daemon-c6b9276aa54e8d320d0a3f480404393711463dfd.tar.xz |
Use a blank line at most
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/coco/coco-theme.c | 5 | ||||
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 8 | ||||
-rw-r--r-- | src/themes/standard/theme.c | 1 |
3 files changed, 0 insertions, 14 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index 741861f..0913174 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -66,7 +66,6 @@ typedef struct GtkTextDirection rtl; } WindowData; - enum { URGENCY_LOW, @@ -344,8 +343,6 @@ action_clicked_cb(GtkWidget *w, GdkEventButton *event, action_cb(nw, key); } - - /* Required functions */ /* Checking if we support this notification daemon version */ @@ -452,7 +449,6 @@ create_notification(UrlClickedCb url_clicked) gtk_widget_show (vbox); gtk_box_pack_start (GTK_BOX (windata->main_hbox), vbox, TRUE, TRUE, 0); - windata->summary_label = gtk_label_new(NULL); gtk_widget_show(windata->summary_label); gtk_box_pack_start(GTK_BOX(vbox), windata->summary_label, FALSE, FALSE, 0); @@ -708,7 +704,6 @@ move_notification(GtkWidget *nw, int x, int y) gtk_window_move(GTK_WINDOW(nw), x, y); } - /* Optional Functions */ /* Destroy notification */ diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 2ad102e..3f62940 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -22,8 +22,6 @@ * Boston, MA 02110-1301 USA */ - - #include "config.h" #include <glib/gi18n.h> @@ -82,7 +80,6 @@ typedef struct } WindowData; - enum { URGENCY_LOW, @@ -403,7 +400,6 @@ fill_background(GtkWidget *widget, WindowData *windata, cairo_t *cr) cairo_fill (cr); } - static void draw_stripe(GtkWidget *widget, WindowData *windata, cairo_t *cr) { @@ -463,7 +459,6 @@ draw_stripe(GtkWidget *widget, WindowData *windata, cairo_t *cr) break; } - cairo_pattern_t *pattern; pattern = cairo_pattern_create_linear (0, 0, 0, windata->height); cairo_pattern_add_color_stop_rgba (pattern, 0, top_color.red / color_mult, top_color.green / color_mult, top_color.blue / color_mult, alpha); @@ -697,8 +692,6 @@ action_clicked_cb(GtkWidget *w, GdkEventButton *event, action_cb(nw, key); } - - /* Required functions */ /* Checking if we support this notification daemon version */ @@ -1122,7 +1115,6 @@ move_notification(GtkWidget *nw, int x, int y) } } - /* Optional Functions */ /* Destroy notification */ diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index 968382a..c243a4f 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -664,7 +664,6 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) windata->composited = FALSE; - screen = gtk_window_get_screen(GTK_WINDOW(win)); visual = gdk_screen_get_rgba_visual(screen); |