diff --git a/src/widgets/button.h b/src/widgets/button.h
index a29ffe76a3da4047336f0ce41eb8a86946c34d81..f14af94d14fca46e5d0b51b8e526668ccd6c67a7 100644 (file)
--- a/src/widgets/button.h
+++ b/src/widgets/button.h
#include <gtk/gtktogglebutton.h>
#include <gtk/gtktooltips.h>
-#include <helper/action.h>
-
-#include <glib.h>
-
+#include "helper/action.h"
+#include "icon-size.h"
typedef enum {
struct SPButton {
GtkToggleButton widget;
SPButtonType type;
- GtkIconSize lsize;
+ Inkscape::IconSize lsize;
unsigned int psize;
SPAction *action;
SPAction *doubleclick_action;
GType sp_button_get_type (void);
-GtkWidget *sp_button_new (GtkIconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips);
+GtkWidget *sp_button_new (Inkscape::IconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips);
void sp_button_toggle_set_down (SPButton *button, gboolean down);
-GtkWidget *sp_button_new_from_data (GtkIconSize size,
+GtkWidget *sp_button_new_from_data (Inkscape::IconSize size,
SPButtonType type,
Inkscape::UI::View::View *view,
const gchar *name,