diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-14 21:34:06 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-14 21:34:06 +0000 |
| commit | c8fae874884858fb54c05015c72f6f551591d0f9 (patch) | |
| tree | cc3b9bf14dbb556e8bcfab9e9aefdef301fe9939 /src/widgets/button.h | |
| parent | toggle units in the measure tool (diff) | |
| download | inkscape-c8fae874884858fb54c05015c72f6f551591d0f9.tar.gz inkscape-c8fae874884858fb54c05015c72f6f551591d0f9.zip | |
Remove deprecated glib macro wrappers
(bzr r10302.1.1)
Diffstat (limited to 'src/widgets/button.h')
| -rw-r--r-- | src/widgets/button.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/button.h b/src/widgets/button.h index 19a513074..759096443 100644 --- a/src/widgets/button.h +++ b/src/widgets/button.h @@ -13,8 +13,8 @@ */ #define SP_TYPE_BUTTON (sp_button_get_type ()) -#define SP_BUTTON(o) (GTK_CHECK_CAST ((o), SP_TYPE_BUTTON, SPButton)) -#define SP_IS_BUTTON(o) (GTK_CHECK_TYPE ((o), SP_TYPE_BUTTON)) +#define SP_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SP_TYPE_BUTTON, SPButton)) +#define SP_IS_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SP_TYPE_BUTTON)) #include <gtk/gtk.h> |
