[gtk+] gtkwidget: Fix a typo preventing the CSD input shape from applying
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkwidget: Fix a typo preventing the CSD input shape from applying
- Date: Tue, 2 Dec 2014 02:02:41 +0000 (UTC)
commit 579c7f80a019ee7f8c672355be55c836b7ad7fa4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 1 18:01:18 2014 -0800
gtkwidget: Fix a typo preventing the CSD input shape from applying
We were setting "csd-shade" but reading from "csd-region".
gtk/gtkwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 0be0272..af5f74c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12972,9 +12972,9 @@ gtk_widget_set_csd_input_shape (GtkWidget *widget,
const cairo_region_t *region)
{
if (region == NULL)
- g_object_set_data (G_OBJECT (widget), "csd-shade", NULL);
+ g_object_set_data (G_OBJECT (widget), "csd-region", NULL);
else
- g_object_set_data_full (G_OBJECT (widget), "csd-shade",
+ g_object_set_data_full (G_OBJECT (widget), "csd-region",
cairo_region_copy (region),
(GDestroyNotify) cairo_region_destroy);
gtk_widget_update_input_shape (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]