summaryrefslogtreecommitdiff
path: root/atk/atktable.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-07-02 04:34:26 +0000
committerTim Janik <timj@src.gnome.org>2001-07-02 04:34:26 +0000
commit40ded543dd961962ad18845d9b86dda0e9635b90 (patch)
tree9f28dd4921a61ea2ec68dd7051f923d14132a4fa /atk/atktable.c
parent0ad2b3eddd933cfd48c044bd2258d6c9bb65c787 (diff)
downloadat-spi2-core-40ded543dd961962ad18845d9b86dda0e9635b90.tar.gz
s/signal_newc/signal_new/ to adapt to recent GSignal changes.
Mon Jul 2 06:37:09 2001 Tim Janik <timj@gtk.org> * atk/atktext.c (atk_text_base_init): * atk/atktable.c (atk_table_base_init): * atk/atkobject.c (atk_object_init): s/signal_newc/signal_new/ to adapt to recent GSignal changes.
Diffstat (limited to 'atk/atktable.c')
-rwxr-xr-xatk/atktable.c126
1 files changed, 63 insertions, 63 deletions
diff --git a/atk/atktable.c b/atk/atktable.c
index 485422f5..645106f7 100755
--- a/atk/atktable.c
+++ b/atk/atktable.c
@@ -45,19 +45,19 @@ GType
atk_table_get_type ()
{
static GType type = 0;
-
+
if (!type) {
GTypeInfo tinfo =
{
sizeof (AtkTableIface),
(GBaseInitFunc) atk_table_base_init,
(GBaseFinalizeFunc) NULL,
-
+
};
-
+
type = g_type_register_static (G_TYPE_INTERFACE, "AtkTable", &tinfo, 0);
}
-
+
return type;
}
@@ -66,65 +66,65 @@ static void
atk_table_base_init (gpointer *g_class)
{
static gboolean initialized = FALSE;
-
- if (! initialized)
- {
- atk_table_signals[ROW_INSERTED] =
- g_signal_newc ("row_inserted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, row_inserted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- atk_table_signals[COLUMN_INSERTED] =
- g_signal_newc ("column_inserted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, column_inserted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- atk_table_signals[ROW_DELETED] =
- g_signal_newc ("row_deleted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, row_deleted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- atk_table_signals[COLUMN_DELETED] =
- g_signal_newc ("column_deleted",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, column_deleted),
- (GSignalAccumulator) NULL, NULL,
- atk_marshal_VOID__INT_INT,
- G_TYPE_NONE,
- 2, G_TYPE_INT, G_TYPE_INT);
- atk_table_signals[ROW_REORDERED] =
- g_signal_newc ("row_reordered",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, row_reordered),
- (GSignalAccumulator) NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE,
- 0);
- atk_table_signals[COLUMN_REORDERED] =
- g_signal_newc ("column_reordered",
- ATK_TYPE_TABLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (AtkTableIface, column_reordered),
- (GSignalAccumulator) NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE,
- 0);
- initialized = TRUE;
- }
+
+ if (!initialized)
+ {
+ atk_table_signals[ROW_INSERTED] =
+ g_signal_new ("row_inserted",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, row_inserted),
+ (GSignalAccumulator) NULL, NULL,
+ atk_marshal_VOID__INT_INT,
+ G_TYPE_NONE,
+ 2, G_TYPE_INT, G_TYPE_INT);
+ atk_table_signals[COLUMN_INSERTED] =
+ g_signal_new ("column_inserted",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, column_inserted),
+ (GSignalAccumulator) NULL, NULL,
+ atk_marshal_VOID__INT_INT,
+ G_TYPE_NONE,
+ 2, G_TYPE_INT, G_TYPE_INT);
+ atk_table_signals[ROW_DELETED] =
+ g_signal_new ("row_deleted",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, row_deleted),
+ (GSignalAccumulator) NULL, NULL,
+ atk_marshal_VOID__INT_INT,
+ G_TYPE_NONE,
+ 2, G_TYPE_INT, G_TYPE_INT);
+ atk_table_signals[COLUMN_DELETED] =
+ g_signal_new ("column_deleted",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, column_deleted),
+ (GSignalAccumulator) NULL, NULL,
+ atk_marshal_VOID__INT_INT,
+ G_TYPE_NONE,
+ 2, G_TYPE_INT, G_TYPE_INT);
+ atk_table_signals[ROW_REORDERED] =
+ g_signal_new ("row_reordered",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, row_reordered),
+ (GSignalAccumulator) NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE,
+ 0);
+ atk_table_signals[COLUMN_REORDERED] =
+ g_signal_new ("column_reordered",
+ ATK_TYPE_TABLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AtkTableIface, column_reordered),
+ (GSignalAccumulator) NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE,
+ 0);
+ initialized = TRUE;
+ }
}
/**