From 5eef3356c5828c72122fb531d2797a4378fd54f0 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 4 Dec 2019 17:40:08 +0100 Subject: avoid redundant redeclarations --- libmate-desktop/mate-colorsel.c | 3 --- libmate-desktop/mate-desktop-thumbnail.c | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'libmate-desktop') diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 2d68d37..19806b4 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -154,9 +154,6 @@ static gboolean mate_color_selection_grab_broken (GtkWidget *widge static void mate_color_selection_set_palette_color (MateColorSelection *colorsel, gint index, GdkColor *color); -static void set_focus_line_attributes (GtkWidget *drawing_area, - cairo_t *cr, - gint *focus_width); static void default_noscreen_change_palette_func (const GdkColor *colors, gint n_colors); static void default_change_palette_func (GdkScreen *screen, diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c index 20da048..2efa4f5 100644 --- a/libmate-desktop/mate-desktop-thumbnail.c +++ b/libmate-desktop/mate-desktop-thumbnail.c @@ -64,12 +64,10 @@ struct _MateDesktopThumbnailFactoryPrivate { static const char *appname = "mate-thumbnail-factory"; -static void mate_desktop_thumbnail_factory_init (MateDesktopThumbnailFactory *factory); -static void mate_desktop_thumbnail_factory_class_init (MateDesktopThumbnailFactoryClass *class); - G_DEFINE_TYPE_WITH_PRIVATE (MateDesktopThumbnailFactory, mate_desktop_thumbnail_factory, G_TYPE_OBJECT) + #define parent_class mate_desktop_thumbnail_factory_parent_class typedef struct { -- cgit v1.2.1