Commit 771e07ff authored by Matthias Clasen's avatar Matthias Clasen

Reinstate abstract types

parent d76f2aa4
2006-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkseparator.c:
* gtk/gtkscrollbar.c:
* gtk/gtkpaned.c:
* gtk/gtkoldeditable.c:
* gtk/gtkmisc.c:
* gtk/gtkitem.c:
* gtk/gtkimcontext.c:
* gtk/gtkrange.c:
* gtk/gtkscale.c: GtkRange and GtkScale are supposed to be
abstract types.
* gtk/gtkscale.c: Make types abstract again.
2006-05-06 Matthias Clasen <mclasen@redhat.com>
......
2006-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkseparator.c:
* gtk/gtkscrollbar.c:
* gtk/gtkpaned.c:
* gtk/gtkoldeditable.c:
* gtk/gtkmisc.c:
* gtk/gtkitem.c:
* gtk/gtkimcontext.c:
* gtk/gtkrange.c:
* gtk/gtkscale.c: GtkRange and GtkScale are supposed to be
abstract types.
* gtk/gtkscale.c: Make types abstract again.
2006-05-06 Matthias Clasen <mclasen@redhat.com>
......
......@@ -51,7 +51,7 @@ static void gtk_im_context_real_set_surrounding (GtkIMContext *context,
gint len,
gint cursor_index);
G_DEFINE_TYPE (GtkIMContext, gtk_im_context, G_TYPE_OBJECT);
G_DEFINE_ABSTRACT_TYPE (GtkIMContext, gtk_im_context, G_TYPE_OBJECT);
static void
gtk_im_context_class_init (GtkIMContextClass *klass)
......
......@@ -48,7 +48,7 @@ static gint gtk_item_leave (GtkWidget *widget,
static guint item_signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE (GtkItem, gtk_item, GTK_TYPE_BIN);
G_DEFINE_ABSTRACT_TYPE (GtkItem, gtk_item, GTK_TYPE_BIN);
static void
gtk_item_class_init (GtkItemClass *class)
......
......@@ -51,7 +51,7 @@ static void gtk_misc_get_property (GObject *object,
GParamSpec *pspec);
G_DEFINE_TYPE (GtkMisc, gtk_misc, GTK_TYPE_WIDGET);
G_DEFINE_ABSTRACT_TYPE (GtkMisc, gtk_misc, GTK_TYPE_WIDGET);
static void
gtk_misc_class_init (GtkMiscClass *class)
......
......@@ -128,9 +128,9 @@ static gint gtk_old_editable_get_position (GtkEditable *editable);
static guint editable_signals[LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE_WITH_CODE (GtkOldEditable, gtk_old_editable, GTK_TYPE_WIDGET,
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
gtk_old_editable_editable_init));
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GtkOldEditable, gtk_old_editable, GTK_TYPE_WIDGET,
G_IMPLEMENT_INTERFACE (GTK_TYPE_EDITABLE,
gtk_old_editable_editable_init));
static void
gtk_old_editable_class_init (GtkOldEditableClass *class)
......
......@@ -138,7 +138,7 @@ struct _GtkPanedPrivate
guint32 grab_time;
};
G_DEFINE_TYPE (GtkPaned, gtk_paned, GTK_TYPE_CONTAINER);
G_DEFINE_ABSTRACT_TYPE (GtkPaned, gtk_paned, GTK_TYPE_CONTAINER);
static guint signals[LAST_SIGNAL] = { 0 };
......
......@@ -34,7 +34,7 @@
static void gtk_scrollbar_style_set (GtkWidget *widget,
GtkStyle *previous);
G_DEFINE_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE);
G_DEFINE_ABSTRACT_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE);
static void
gtk_scrollbar_class_init (GtkScrollbarClass *class)
......
......@@ -30,7 +30,7 @@
#include "gtkalias.h"
G_DEFINE_TYPE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET);
G_DEFINE_ABSTRACT_TYPE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET);
static void
gtk_separator_class_init (GtkSeparatorClass *class)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment