From b0df98a1c2745b20325ae1d70413601dda9b46dd Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 2 Mar 2019 18:20:30 +0100 Subject: Fix -Werror=cast-function-type Bump glib-2 required version to 2.58: G_SOURCE_FUNC https://gitlab.gnome.org/GNOME/glib/commit/039fa6897bb4c5cd30caec8ee3add1a4ef612f76 Build & install:i export CC=gcci export CFLAGS=-Werror=cast-function-type ./autogen.sh --prefix=/usr make clean make sudo make install --- src/ui/tabpopup.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/ui/tabpopup.c') diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index 37231a5b..10c7898f 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -636,7 +636,9 @@ unselect_image (GtkWidget *widget) gtk_widget_queue_draw (widget); } -static void meta_select_image_class_init (MetaSelectImageClass *klass); +static void meta_select_image_class_init (MetaSelectImageClass *klass, + void *data); + static gboolean meta_select_image_draw (GtkWidget *widget, cairo_t *cr); @@ -669,7 +671,7 @@ meta_select_image_get_type (void) } static void -meta_select_image_class_init (MetaSelectImageClass *klass) +meta_select_image_class_init (MetaSelectImageClass *klass, void *data) { GtkWidgetClass *widget_class; @@ -805,7 +807,8 @@ unselect_workspace (GtkWidget *widget) gtk_widget_queue_draw (widget); } -static void meta_select_workspace_class_init (MetaSelectWorkspaceClass *klass); +static void meta_select_workspace_class_init (MetaSelectWorkspaceClass *klass, + void *data); static gboolean meta_select_workspace_draw (GtkWidget *widget, cairo_t *cr); @@ -840,7 +843,8 @@ meta_select_workspace_get_type (void) } static void -meta_select_workspace_class_init (MetaSelectWorkspaceClass *klass) +meta_select_workspace_class_init (MetaSelectWorkspaceClass *klass, + void *data) { GtkWidgetClass *widget_class; -- cgit v1.2.1