Reinstate abstract types

This commit is contained in:
Matthias Clasen 2006-05-07 14:11:16 +00:00
parent d76f2aa4e6
commit 771e07ff2b
9 changed files with 25 additions and 13 deletions

View File

@ -1,8 +1,14 @@
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>

View File

@ -1,8 +1,14 @@
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>

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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 };

View File

@ -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)

View File

@ -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)