diff options
| author | infirit <[email protected]> | 2015-07-24 15:53:08 +0200 | 
|---|---|---|
| committer | infirit <[email protected]> | 2015-07-24 16:00:34 +0200 | 
| commit | 1b3d922029e8acafd5bb5a5d3741cab5f1aed055 (patch) | |
| tree | e9b22aa1aafd7308c781ca370f6ef18e827ea4b4 /src | |
| parent | 0cbc509b7b171e1774bf3169f971e2488ca7fdd2 (diff) | |
| download | mate-notification-daemon-1b3d922029e8acafd5bb5a5d3741cab5f1aed055.tar.bz2 mate-notification-daemon-1b3d922029e8acafd5bb5a5d3741cab5f1aed055.tar.xz | |
Fix several incompatible pointer type warnings
Diffstat (limited to 'src')
| -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 85ab042..10b5f3a 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -90,7 +90,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 72fde60..46b02d3 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -106,7 +106,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 1bb6ecf..c6673d4 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -905,7 +905,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 bf489f0..402e7c7 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -931,7 +931,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); | 
