summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet.h')
-rw-r--r--libmate-panel-applet/mate-panel-applet.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h
index 1eb84a14..1d6f15ee 100644
--- a/libmate-panel-applet/mate-panel-applet.h
+++ b/libmate-panel-applet/mate-panel-applet.h
@@ -27,11 +27,9 @@
#include <glib.h>
#include <gtk/gtk.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
#include <gdk/gdk.h>
#include <cairo.h>
#include <cairo-gobject.h>
-#endif
#ifdef __cplusplus
extern "C" {
@@ -86,11 +84,8 @@ struct _MatePanelAppletClass {
void (*change_size) (MatePanelApplet* applet, guint size);
-#if GTK_CHECK_VERSION (3, 0, 0)
void (*change_background) (MatePanelApplet *applet, MatePanelAppletBackgroundType type, GdkRGBA* color, cairo_pattern_t *pattern);
-#else
- void (*change_background) (MatePanelApplet* applet, MatePanelAppletBackgroundType type, GdkColor* color, GdkPixmap* pixmap);
-#endif
+
void (*move_focus_out_of_applet) (MatePanelApplet* frame, GtkDirectionType direction);
};
@@ -100,11 +95,7 @@ GtkWidget* mate_panel_applet_new(void);
MatePanelAppletOrient mate_panel_applet_get_orient(MatePanelApplet* applet);
guint mate_panel_applet_get_size(MatePanelApplet* applet);
-#if GTK_CHECK_VERSION (3, 0, 0)
MatePanelAppletBackgroundType mate_panel_applet_get_background (MatePanelApplet *applet, /* return values */ GdkRGBA* color, cairo_pattern_t** pattern);
-#else
-MatePanelAppletBackgroundType mate_panel_applet_get_background(MatePanelApplet* applet, /* return values */ GdkColor* color, GdkPixmap** pixmap);
-#endif
void mate_panel_applet_set_background_widget(MatePanelApplet* applet, GtkWidget* widget);
gchar* mate_panel_applet_get_preferences_path(MatePanelApplet* applet);