summaryrefslogtreecommitdiff
path: root/src/gsm_color_button.h
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-12-12 23:14:17 +0300
committermonsta <[email protected]>2016-01-11 14:05:07 +0300
commitcbb995375f1b97679fd42090e31277666249cc84 (patch)
tree46f1d7dcbbb63837e2ddfe8013bb756d01b72fdb /src/gsm_color_button.h
parent6a9264b25f20fe81d837217a6d4875d4e594983f (diff)
downloadmate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.bz2
mate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.xz
drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/gsm_color_button.h')
-rw-r--r--src/gsm_color_button.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gsm_color_button.h b/src/gsm_color_button.h
index bb54f72..be26cdb 100644
--- a/src/gsm_color_button.h
+++ b/src/gsm_color_button.h
@@ -25,10 +25,6 @@
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
-#if !GTK_CHECK_VERSION(3,0,0)
-#include <cairo.h>
-#include <librsvg/rsvg.h>
-#endif
G_BEGIN_DECLS
/* The GtkColorSelectionButton widget is a simple color picker in a button.
@@ -79,20 +75,11 @@ struct _GSMColorButtonClass
};
GType gsm_color_button_get_type (void) G_GNUC_CONST;
-#if GTK_CHECK_VERSION(3,0,0)
GtkWidget *gsm_color_button_new (const GdkRGBA * color, guint type);
void gsm_color_button_set_color (GSMColorButton * color_button, const GdkRGBA * color);
-#else
-GtkWidget *gsm_color_button_new (const GdkColor * color, guint type);
-void gsm_color_button_set_color (GSMColorButton * color_button, const GdkColor * color);
-#endif
void gsm_color_button_set_fraction (GSMColorButton * color_button, const gdouble fraction);
void gsm_color_button_set_cbtype (GSMColorButton * color_button, guint type);
-#if GTK_CHECK_VERSION(3,0,0)
void gsm_color_button_get_color (GSMColorButton * color_button, GdkRGBA * color);
-#else
-void gsm_color_button_get_color (GSMColorButton * color_button, GdkColor * color);
-#endif
gdouble gsm_color_button_get_fraction (GSMColorButton * color_button);
guint gsm_color_button_get_cbtype (GSMColorButton * color_button);
void gsm_color_button_set_title (GSMColorButton * color_button, const gchar * title);