summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background-monitor.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 21:14:26 +0300
committermonsta <[email protected]>2016-11-21 21:14:26 +0300
commitd0ddaedffa7d417a699cafce73c1e418515c4a28 (patch)
tree645b7a86e32b21113e1ce14f563bfb8d8900fa53 /mate-panel/panel-background-monitor.h
parent7dfeb78328039cf92a9f45d64c9b3662d967a1fe (diff)
downloadmate-panel-d0ddaedffa7d417a699cafce73c1e418515c4a28.tar.bz2
mate-panel-d0ddaedffa7d417a699cafce73c1e418515c4a28.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
Diffstat (limited to 'mate-panel/panel-background-monitor.h')
-rw-r--r--mate-panel/panel-background-monitor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/mate-panel/panel-background-monitor.h b/mate-panel/panel-background-monitor.h
index 379e3313..29cafd66 100644
--- a/mate-panel/panel-background-monitor.h
+++ b/mate-panel/panel-background-monitor.h
@@ -29,7 +29,7 @@
#include <glib.h>
#include <glib-object.h>
-#include <gtk/gtk.h>
+#include <gdk/gdk.h>
#define PANEL_TYPE_BACKGROUND_MONITOR (panel_background_monitor_get_type ())
#define PANEL_BACKGROUND_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
@@ -49,9 +49,8 @@
typedef struct _PanelBackgroundMonitorClass PanelBackgroundMonitorClass;
typedef struct _PanelBackgroundMonitor PanelBackgroundMonitor;
-#if GTK_CHECK_VERSION(3, 0, 0)
gboolean gdk_window_check_composited_wm (GdkWindow* window);
-#endif
+
GType panel_background_monitor_get_type (void);
PanelBackgroundMonitor *panel_background_monitor_get_for_screen (GdkScreen *screen);
GdkPixbuf *panel_background_monitor_get_region (PanelBackgroundMonitor *monitor,