Commit 3f9d39ff authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Initial move GailTextView -> GtkTextViewAccessible

This just does the renaming, and drops the factory.
parent e81657cb
......@@ -48,7 +48,7 @@ gail_c_sources = \
gailstatusbar.c \
gailtextcell.c \
gailtextutil.c \
gailtextview.c \
gtktextviewaccessible.c \
gailtogglebutton.c \
gailtoplevel.c \
gailtreeview.c \
......@@ -103,7 +103,7 @@ gail_private_h_sources = \
gailstatusbar.h \
gailtextcell.h \
gailtextutil.h \
gailtextview.h \
gtktextviewaccessible.h \
gailtogglebutton.h \
gailtoplevel.h \
gailtreeview.h \
......
......@@ -56,7 +56,6 @@
#include "gailseparator.h"
#include "gailstatusbar.h"
#include "gailtextcell.h"
#include "gailtextview.h"
#include "gailtogglebutton.h"
#include "gailtoplevel.h"
#include "gailtreeview.h"
......@@ -117,7 +116,6 @@ GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_LINK_BUTTON, GailLinkButton, gail_link_button,
GAIL_IMPLEMENT_FACTORY_WITH_FUNC (GAIL_TYPE_MENU_ITEM, GailMenuItem, gail_menu_item, gail_menu_item_new)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_TOGGLE_BUTTON, GailToggleButton, gail_toggle_button, GTK_TYPE_TOGGLE_BUTTON)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_IMAGE, GailImage, gail_image, GTK_TYPE_IMAGE)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_TEXT_VIEW, GailTextView, gail_text_view, GTK_TYPE_TEXT_VIEW)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_COMBO_BOX, GailComboBox, gail_combo_box, GTK_TYPE_COMBO_BOX)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_MENU_SHELL, GailMenuShell, gail_menu_shell, GTK_TYPE_MENU_SHELL)
GAIL_IMPLEMENT_FACTORY (GAIL_TYPE_MENU, GailMenu, gail_menu, GTK_TYPE_MENU)
......@@ -892,7 +890,6 @@ gail_accessibility_module_init (void)
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_MENU_ITEM, gail_menu_item);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_TOGGLE_BUTTON, gail_toggle_button);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_IMAGE, gail_image);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_TEXT_VIEW, gail_text_view);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_COMBO_BOX, gail_combo_box);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_MENU_BAR, gail_menu_shell);
GAIL_WIDGET_SET_FACTORY (GTK_TYPE_MENU, gail_menu);
......
......@@ -17,25 +17,25 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __GAIL_TEXT_VIEW_H__
#define __GAIL_TEXT_VIEW_H__
#ifndef __GTK_TEXT_VIEW_ACCESSIBLE_H__
#define __GTK_TEXT_VIEW_ACCESSIBLE_H__
#include "gailcontainer.h"
#include "gailtextutil.h"
G_BEGIN_DECLS
#define GAIL_TYPE_TEXT_VIEW (gail_text_view_get_type ())
#define GAIL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_VIEW, GailTextView))
#define GAIL_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_TEXT_VIEW, GailTextViewClass))
#define GAIL_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_TEXT_VIEW))
#define GAIL_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_TEXT_VIEW))
#define GAIL_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_TEXT_VIEW, GailTextViewClass))
#define GTK_TYPE_TEXT_VIEW_ACCESSIBLE (gtk_text_view_accessible_get_type ())
#define GTK_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessible))
#define GTK_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
#define GTK_IS_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
#define GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
#define GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
typedef struct _GailTextView GailTextView;
typedef struct _GailTextViewClass GailTextViewClass;
typedef struct _GtkTextViewAccessible GtkTextViewAccessible;
typedef struct _GtkTextViewAccessibleClass GtkTextViewAccessibleClass;
struct _GailTextView
struct _GtkTextViewAccessible
{
GailContainer parent;
......@@ -52,13 +52,13 @@ struct _GailTextView
guint insert_notify_handler;
};
GType gail_text_view_get_type (void);
struct _GailTextViewClass
struct _GtkTextViewAccessibleClass
{
GailContainerClass parent_class;
};
GType gtk_text_view_accessible_get_type (void);
G_END_DECLS
#endif /* __GAIL_TEXT_VIEW_H__ */
#endif /* __GTK_TEXT_VIEW_ACCESSIBLE_H__ */
......@@ -53,6 +53,7 @@
#include "gtkscrollable.h"
#include "gtktypebuiltins.h"
#include "a11y/gtktextviewaccessible.h"
/**
* SECTION:gtktextview
......@@ -1351,6 +1352,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
GTK_TYPE_DIRECTION_TYPE, GTK_DIR_TAB_BACKWARD);
g_type_class_add_private (gobject_class, sizeof (GtkTextViewPrivate));
gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_TEXT_VIEW_ACCESSIBLE);
}
static void
......
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