diff options
author | monsta <[email protected]> | 2016-05-19 14:31:09 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-05-19 14:32:34 +0300 |
commit | c1cb767f56e6d96803a8dc832e79055edbb0d274 (patch) | |
tree | 3be286034749b6523a80f1ae1348fb46b2eb0f6c | |
parent | 3257bca2721ae29e1760f5019c9691afb6fa8f11 (diff) | |
download | mate-notification-daemon-c1cb767f56e6d96803a8dc832e79055edbb0d274.tar.bz2 mate-notification-daemon-c1cb767f56e6d96803a8dc832e79055edbb0d274.tar.xz |
standard: update FIXME's
-rw-r--r-- | src/themes/standard/theme.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index dac94da..f532e64 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -439,11 +439,8 @@ static void create_border_with_arrow(GtkWidget* nw, WindowData* windata) g_assert(shape_points != NULL); -#if GTK_CHECK_VERSION(3, 0, 0) - /* FIXME!!! */ -#else - windata->window_region = gdk_region_polygon(shape_points, windata->num_border_points, GDK_EVEN_ODD_RULE); -#endif + /* FIXME won't work with GTK+3, need a replacement */ + /*windata->window_region = gdk_region_polygon(shape_points, windata->num_border_points, GDK_EVEN_ODD_RULE);*/ g_free(shape_points); } @@ -466,11 +463,8 @@ static void draw_border(GtkWidget* widget, WindowData *windata, cairo_t* cr) } cairo_close_path(cr); -#if GTK_CHECK_VERSION(3, 0, 0) - /* FIXME!!! */ -#else - gdk_window_shape_combine_region (gtk_widget_get_window (windata->win), windata->window_region, 0, 0); -#endif + /* FIXME window_region is not set up anyway, see previous fixme */ + /*gdk_window_shape_combine_region (gtk_widget_get_window (windata->win), windata->window_region, 0, 0);*/ g_free(windata->border_points); windata->border_points = NULL; } |