summaryrefslogtreecommitdiff
path: root/gtk/gtkadjustment.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-09-18 19:54:31 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-26 22:18:13 -0400
commit3b8184cfee90f8f4e13ae64919a6a08921f78b8a (patch)
tree9d4eda01b16be9d2066b0c186053fbc1aafc3879 /gtk/gtkadjustment.h
parent945e97e50539497bbb0bf5ddc6f8eb8889681b39 (diff)
downloadgtk+-3b8184cfee90f8f4e13ae64919a6a08921f78b8a.tar.gz
Move classes that currently derive from GtkObject to GInitiallyUnowned
Diffstat (limited to 'gtk/gtkadjustment.h')
-rw-r--r--gtk/gtkadjustment.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkadjustment.h b/gtk/gtkadjustment.h
index 39a6f86293..1435ba50f9 100644
--- a/gtk/gtkadjustment.h
+++ b/gtk/gtkadjustment.h
@@ -31,9 +31,8 @@
#ifndef __GTK_ADJUSTMENT_H__
#define __GTK_ADJUSTMENT_H__
-
-#include <gdk/gdk.h>
#include <gtk/gtkobject.h>
+#include <gdk/gdk.h>
G_BEGIN_DECLS
@@ -50,7 +49,7 @@ typedef struct _GtkAdjustmentClass GtkAdjustmentClass;
struct _GtkAdjustment
{
- GtkObject parent_instance;
+ GInitiallyUnowned parent_instance;
gdouble GSEAL (lower);
gdouble GSEAL (upper);
@@ -62,7 +61,7 @@ struct _GtkAdjustment
struct _GtkAdjustmentClass
{
- GtkObjectClass parent_class;
+ GInitiallyUnownedClass parent_class;
void (* changed) (GtkAdjustment *adjustment);
void (* value_changed) (GtkAdjustment *adjustment);
@@ -76,7 +75,7 @@ struct _GtkAdjustmentClass
GType gtk_adjustment_get_type (void) G_GNUC_CONST;
-GtkObject* gtk_adjustment_new (gdouble value,
+GObject* gtk_adjustment_new (gdouble value,
gdouble lower,
gdouble upper,
gdouble step_increment,