diff options
author | infirit <[email protected]> | 2015-07-24 15:53:08 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-24 15:57:29 +0200 |
commit | 147aa51092a2615339a9adf9e1626cfb7bb3a97f (patch) | |
tree | 1eeb8c00af4f252395108a53cd2b3f8893460214 | |
parent | 413d42c5c782f16cda0240e7960e58fcac8ad09b (diff) | |
download | mate-notification-daemon-147aa51092a2615339a9adf9e1626cfb7bb3a97f.tar.bz2 mate-notification-daemon-147aa51092a2615339a9adf9e1626cfb7bb3a97f.tar.xz |
Fix several incompatible pointer type warnings
-rw-r--r-- | src/themes/coco/coco-theme.c | 2 | ||||
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 2 | ||||
-rw-r--r-- | src/themes/slider/theme.c | 2 | ||||
-rw-r--r-- | src/themes/standard/theme.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index d31de8b..ef21e00 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -95,7 +95,7 @@ enum static gboolean activate_link (GtkLabel *label, const char *url, WindowData *windata) { - windata->url_clicked (windata->win, url); + windata->url_clicked (GTK_WINDOW (windata->win), url); return TRUE; } diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index b7f3964..9874bbf 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -111,7 +111,7 @@ enum static gboolean activate_link (GtkLabel *label, const char *url, WindowData *windata) { - windata->url_clicked (windata->win, url); + windata->url_clicked (GTK_WINDOW (windata->win), url); return TRUE; } diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index 6721996..87950f6 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -928,7 +928,7 @@ static gboolean on_countdown_expose(GtkWidget* pie, GdkEventExpose* event, Windo cairo_surface_t* surface; double r, g, b; - context = gdk_cairo_create(gtk_widget_get_window(GDK_WINDOW(windata->pie_countdown))); + context = gdk_cairo_create(GDK_WINDOW(gtk_widget_get_window(windata->pie_countdown))); #if GTK_CHECK_VERSION(3, 0, 0) style = gtk_widget_get_style_context(windata->win); #else diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index 010003e..9c012a9 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -958,7 +958,7 @@ static gboolean countdown_expose_cb(GtkWidget* pie, GdkEventExpose* event, Windo #endif style = gtk_widget_get_style(windata->win); - context = gdk_cairo_create(GTK_WINDOW(gtk_widget_get_window(windata->pie_countdown))); + context = gdk_cairo_create(GDK_WINDOW(gtk_widget_get_window(windata->pie_countdown))); GtkAllocation alloc; gtk_widget_get_allocation(pie, &alloc); cairo_set_operator(context, CAIRO_OPERATOR_SOURCE); |