aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-10-05 07:52:20 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2001-10-05 07:52:20 +0800
commitc5f392ca0e8b878206a012da11522125e1d86342 (patch)
tree233134ebda3829cd036db9b66214cf8bd7415ef2 /widgets/table
parent911659c6341a5376af81e7298219c0287c851ecc (diff)
downloadgsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.gz
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.bz2
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.lz
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.xz
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.tar.zst
gsoc2013-evolution-c5f392ca0e8b878206a012da11522125e1d86342.zip
add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration
2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-cell-spin-button.c4
-rw-r--r--widgets/table/e-table-click-to-add.c5
-rw-r--r--widgets/table/e-table-column.c6
-rw-r--r--widgets/table/e-table-config.c4
-rw-r--r--widgets/table/e-table-field-chooser-item.c1
-rw-r--r--widgets/table/e-table-group.c16
-rw-r--r--widgets/table/e-table-header-item.c5
-rw-r--r--widgets/table/e-table-header.c9
-rw-r--r--widgets/table/e-table-item.c16
-rw-r--r--widgets/table/e-table-model.c15
-rw-r--r--widgets/table/e-table-selection-model.c1
-rw-r--r--widgets/table/e-table-sort-info.c6
-rw-r--r--widgets/table/e-table-utils.c1
-rw-r--r--widgets/table/e-table.c36
-rw-r--r--widgets/table/e-tree-model.c14
-rw-r--r--widgets/table/e-tree-sorted.c4
-rw-r--r--widgets/table/e-tree.c36
17 files changed, 93 insertions, 86 deletions
diff --git a/widgets/table/e-cell-spin-button.c b/widgets/table/e-cell-spin-button.c
index 80fb519e48..60485cb891 100644
--- a/widgets/table/e-cell-spin-button.c
+++ b/widgets/table/e-cell-spin-button.c
@@ -149,14 +149,14 @@ e_cell_spin_button_class_init (GtkObjectClass *klass)
signals[STEP] =
gtk_signal_new ("step",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ECellSpinButtonClass, step),
e_marshal_NONE__POINTER_INT_INT_INT,
GTK_TYPE_NONE,
4, GTK_TYPE_POINTER, GTK_TYPE_INT,
GTK_TYPE_INT, GTK_TYPE_INT);
- gtk_object_class_add_signals (klass, signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (klass, signals, LAST_SIGNAL);
}
static void
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index 3759b32e3e..aef0d06564 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -22,6 +22,7 @@
#include "gal/e-text/e-text.h"
#include "gal/widgets/e-canvas.h"
#include "gal/widgets/e-canvas-utils.h"
+#include "gal/util/e-util.h"
enum {
CURSOR_CHANGE,
@@ -465,12 +466,12 @@ etcta_class_init (ETableClickToAddClass *klass)
etcta_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClickToAddClass, cursor_change),
gtk_marshal_NONE__INT_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
- gtk_object_class_add_signals (object_class, etcta_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, etcta_signals, LAST_SIGNAL);
}
static void
diff --git a/widgets/table/e-table-column.c b/widgets/table/e-table-column.c
index a3d6201ffd..ae1b45f5b2 100644
--- a/widgets/table/e-table-column.c
+++ b/widgets/table/e-table-column.c
@@ -53,19 +53,19 @@ e_table_column_class_init (GtkObjectClass *object_class)
etc_signals [STRUCTURE_CHANGE] =
gtk_signal_new ("structure_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableColumn, structure_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
etc_signals [DIMENSION_CHANGE] =
gtk_signal_new ("dimension_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableColumn, dimension_change),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
- gtk_object_class_add_signals (object_class, etc_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, etc_signals, LAST_SIGNAL);
}
GtkType
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 1c379a2a5b..c0e4c7f0c3 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -104,12 +104,12 @@ config_class_init (GtkObjectClass *object_class)
e_table_config_signals [CHANGED] =
gtk_signal_new ("changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableConfigClass, changed),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
- gtk_object_class_add_signals (object_class, e_table_config_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, e_table_config_signals, LAST_SIGNAL);
gtk_object_add_arg_type ("ETableConfig::state", E_TABLE_STATE_TYPE,
GTK_ARG_READABLE, ARG_STATE);
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c
index 3084d9e758..9eb649168e 100644
--- a/widgets/table/e-table-field-chooser-item.c
+++ b/widgets/table/e-table-field-chooser-item.c
@@ -17,6 +17,7 @@
#include <libgnomeui/gnome-canvas-rect-ellipse.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include "gal/util/e-util.h"
#include "gal/util/e-xml-utils.h"
#include "gal/widgets/e-canvas.h"
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c
index 32c972ed40..0b53076132 100644
--- a/widgets/table/e-table-group.c
+++ b/widgets/table/e-table-group.c
@@ -631,7 +631,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, cursor_change),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -639,7 +639,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [CURSOR_ACTIVATED] =
gtk_signal_new ("cursor_activated",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, cursor_activated),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -647,7 +647,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [DOUBLE_CLICK] =
gtk_signal_new ("double_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, double_click),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -655,7 +655,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [RIGHT_CLICK] =
gtk_signal_new ("right_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, right_click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -663,7 +663,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [CLICK] =
gtk_signal_new ("click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -671,7 +671,7 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [KEY_PRESS] =
gtk_signal_new ("key_press",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, key_press),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -679,12 +679,12 @@ etg_class_init (GtkObjectClass *object_class)
etg_signals [START_DRAG] =
gtk_signal_new ("start_drag",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableGroupClass, start_drag),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
- gtk_object_class_add_signals (object_class, etg_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, etg_signals, LAST_SIGNAL);
}
E_MAKE_TYPE (e_table_group, "ETableGroup", ETableGroup, etg_class_init, NULL, PARENT_TYPE);
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index f2bf4a2928..90b2f1de9b 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -21,6 +21,7 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "gal/widgets/e-cursors.h"
#include "gal/util/e-i18n.h"
+#include "gal/util/e-util.h"
#include "gal/util/e-xml-utils.h"
#include "gal/widgets/e-canvas.h"
#include "gal/widgets/e-popup-menu.h"
@@ -1578,12 +1579,12 @@ ethi_class_init (GtkObjectClass *object_class)
ethi_signals [BUTTON_PRESSED] =
gtk_signal_new ("button_pressed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableHeaderItemClass, button_pressed),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_GDK_EVENT);
- gtk_object_class_add_signals (object_class, ethi_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, ethi_signals, LAST_SIGNAL);
}
static void
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c
index dd5625df99..e29730ac32 100644
--- a/widgets/table/e-table-header.c
+++ b/widgets/table/e-table-header.c
@@ -13,6 +13,7 @@
#include <gtk/gtksignal.h>
#include "e-table-header.h"
#include "e-table-defines.h"
+#include "gal/util/e-util.h"
/* The arguments we take */
enum {
@@ -236,26 +237,26 @@ e_table_header_class_init (GtkObjectClass *object_class)
eth_signals [STRUCTURE_CHANGE] =
gtk_signal_new ("structure_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableHeaderClass, structure_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
eth_signals [DIMENSION_CHANGE] =
gtk_signal_new ("dimension_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableHeaderClass, dimension_change),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
eth_signals [REQUEST_WIDTH] =
gtk_signal_new ("request_width",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableHeaderClass, request_width),
gtk_marshal_INT__INT,
GTK_TYPE_INT, 1, GTK_TYPE_INT);
- gtk_object_class_add_signals (object_class, eth_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, eth_signals, LAST_SIGNAL);
}
static void
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 794c64dc84..c4b23b83ca 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -2433,7 +2433,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, cursor_change),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -2441,7 +2441,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [CURSOR_ACTIVATED] =
gtk_signal_new ("cursor_activated",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, cursor_activated),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -2449,7 +2449,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [DOUBLE_CLICK] =
gtk_signal_new ("double_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, double_click),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2457,7 +2457,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [START_DRAG] =
gtk_signal_new ("start_drag",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, start_drag),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2465,7 +2465,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [RIGHT_CLICK] =
gtk_signal_new ("right_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, right_click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2473,7 +2473,7 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [CLICK] =
gtk_signal_new ("click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2481,12 +2481,12 @@ eti_class_init (GtkObjectClass *object_class)
eti_signals [KEY_PRESS] =
gtk_signal_new ("key_press",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableItemClass, key_press),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
- gtk_object_class_add_signals (object_class, eti_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, eti_signals, LAST_SIGNAL);
}
diff --git a/widgets/table/e-table-model.c b/widgets/table/e-table-model.c
index 9a0b3561dd..ff9258e169 100644
--- a/widgets/table/e-table-model.c
+++ b/widgets/table/e-table-model.c
@@ -11,6 +11,7 @@
#include <config.h>
#include <gtk/gtksignal.h>
#include "e-table-model.h"
+#include "gal/util/e-util.h"
#define ETM_CLASS(e) ((ETableModelClass *)((GtkObject *)e)->klass)
@@ -261,7 +262,7 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_CHANGED] =
gtk_signal_new ("model_changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_changed),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -269,7 +270,7 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_PRE_CHANGE] =
gtk_signal_new ("model_pre_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_pre_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -277,7 +278,7 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_ROW_CHANGED] =
gtk_signal_new ("model_row_changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_row_changed),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -285,7 +286,7 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_CELL_CHANGED] =
gtk_signal_new ("model_cell_changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_cell_changed),
gtk_marshal_NONE__INT_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
@@ -293,7 +294,7 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_ROWS_INSERTED] =
gtk_signal_new ("model_rows_inserted",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_rows_inserted),
gtk_marshal_NONE__INT_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
@@ -301,12 +302,12 @@ e_table_model_class_init (GtkObjectClass *object_class)
e_table_model_signals [MODEL_ROWS_DELETED] =
gtk_signal_new ("model_rows_deleted",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableModelClass, model_rows_deleted),
gtk_marshal_NONE__INT_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT);
- gtk_object_class_add_signals (object_class, e_table_model_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, e_table_model_signals, LAST_SIGNAL);
klass->column_count = NULL;
klass->row_count = NULL;
diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c
index 716667a197..72ee3bacce 100644
--- a/widgets/table/e-table-selection-model.c
+++ b/widgets/table/e-table-selection-model.c
@@ -8,6 +8,7 @@
* (C) 2000, 2001 Ximian, Inc.
*/
#include <config.h>
+#include <string.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtksignal.h>
#include "e-table-selection-model.h"
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index ed10e6c73b..ffe6eaf5ce 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -76,7 +76,7 @@ e_table_sort_info_class_init (ETableSortInfoClass *klass)
e_table_sort_info_signals [SORT_INFO_CHANGED] =
gtk_signal_new ("sort_info_changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableSortInfoClass, sort_info_changed),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -84,7 +84,7 @@ e_table_sort_info_class_init (ETableSortInfoClass *klass)
e_table_sort_info_signals [GROUP_INFO_CHANGED] =
gtk_signal_new ("group_info_changed",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableSortInfoClass, group_info_changed),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -92,7 +92,7 @@ e_table_sort_info_class_init (ETableSortInfoClass *klass)
klass->sort_info_changed = NULL;
klass->group_info_changed = NULL;
- gtk_object_class_add_signals (object_class, e_table_sort_info_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, e_table_sort_info_signals, LAST_SIGNAL);
}
E_MAKE_TYPE(e_table_sort_info, "ETableSortInfo", ETableSortInfo,
diff --git a/widgets/table/e-table-utils.c b/widgets/table/e-table-utils.c
index 05b4d5a004..ee4078009e 100644
--- a/widgets/table/e-table-utils.c
+++ b/widgets/table/e-table-utils.c
@@ -10,6 +10,7 @@
#include <config.h>
#include "gal/util/e-i18n.h"
+#include "gal/util/e-util.h"
#include "e-table-utils.h"
#include "e-table-header-utils.h"
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 9cf7b26877..19393a4d85 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -2245,7 +2245,7 @@ e_table_class_init (ETableClass *class)
et_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, cursor_change),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -2253,7 +2253,7 @@ e_table_class_init (ETableClass *class)
et_signals [CURSOR_ACTIVATED] =
gtk_signal_new ("cursor_activated",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, cursor_activated),
gtk_marshal_NONE__INT,
GTK_TYPE_NONE, 1, GTK_TYPE_INT);
@@ -2261,7 +2261,7 @@ e_table_class_init (ETableClass *class)
et_signals [SELECTION_CHANGE] =
gtk_signal_new ("selection_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, selection_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -2269,7 +2269,7 @@ e_table_class_init (ETableClass *class)
et_signals [DOUBLE_CLICK] =
gtk_signal_new ("double_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, double_click),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2277,7 +2277,7 @@ e_table_class_init (ETableClass *class)
et_signals [RIGHT_CLICK] =
gtk_signal_new ("right_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, right_click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2285,7 +2285,7 @@ e_table_class_init (ETableClass *class)
et_signals [CLICK] =
gtk_signal_new ("click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, click),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2293,7 +2293,7 @@ e_table_class_init (ETableClass *class)
et_signals [KEY_PRESS] =
gtk_signal_new ("key_press",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, key_press),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2301,7 +2301,7 @@ e_table_class_init (ETableClass *class)
et_signals [START_DRAG] =
gtk_signal_new ("start_drag",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, start_drag),
e_marshal_INT__INT_INT_POINTER,
GTK_TYPE_INT, 3, GTK_TYPE_INT, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2309,7 +2309,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_BEGIN] =
gtk_signal_new ("table_drag_begin",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_begin),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3,
@@ -2319,7 +2319,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_END] =
gtk_signal_new ("table_drag_end",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_end),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3,
@@ -2329,7 +2329,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_DATA_GET] =
gtk_signal_new ("table_drag_data_get",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_data_get),
e_marshal_NONE__INT_INT_POINTER_POINTER_UINT_UINT,
GTK_TYPE_NONE, 6,
@@ -2342,7 +2342,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_DATA_DELETE] =
gtk_signal_new ("table_drag_data_delete",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_data_delete),
gtk_marshal_NONE__INT_INT_POINTER,
GTK_TYPE_NONE, 3,
@@ -2353,7 +2353,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_LEAVE] =
gtk_signal_new ("table_drag_leave",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_leave),
e_marshal_NONE__INT_INT_POINTER_UINT,
GTK_TYPE_NONE, 4,
@@ -2364,7 +2364,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_MOTION] =
gtk_signal_new ("table_drag_motion",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_motion),
e_marshal_BOOL__INT_INT_POINTER_INT_INT_UINT,
GTK_TYPE_BOOL, 6,
@@ -2377,7 +2377,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_DROP] =
gtk_signal_new ("table_drag_drop",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_drop),
e_marshal_BOOL__INT_INT_POINTER_INT_INT_UINT,
GTK_TYPE_BOOL, 6,
@@ -2390,7 +2390,7 @@ e_table_class_init (ETableClass *class)
et_signals[TABLE_DRAG_DATA_RECEIVED] =
gtk_signal_new ("table_drag_data_received",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, table_drag_data_received),
e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT,
GTK_TYPE_NONE, 8,
@@ -2403,14 +2403,14 @@ e_table_class_init (ETableClass *class)
GTK_TYPE_UINT,
GTK_TYPE_UINT);
- gtk_object_class_add_signals (object_class, et_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, et_signals, LAST_SIGNAL);
class->set_scroll_adjustments = set_scroll_adjustments;
widget_class->set_scroll_adjustments_signal =
gtk_signal_new ("set_scroll_adjustments",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETableClass, set_scroll_adjustments),
gtk_marshal_NONE__POINTER_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c
index f304d1e0cf..fb011f14f1 100644
--- a/widgets/table/e-tree-model.c
+++ b/widgets/table/e-tree-model.c
@@ -55,7 +55,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [PRE_CHANGE] =
gtk_signal_new ("pre_change",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, pre_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -63,7 +63,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_CHANGED] =
gtk_signal_new ("node_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_changed),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
@@ -71,7 +71,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_DATA_CHANGED] =
gtk_signal_new ("node_data_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_data_changed),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
@@ -79,7 +79,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_COL_CHANGED] =
gtk_signal_new ("node_col_changed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_col_changed),
gtk_marshal_NONE__POINTER_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_INT);
@@ -87,7 +87,7 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_INSERTED] =
gtk_signal_new ("node_inserted",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_inserted),
gtk_marshal_NONE__POINTER_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_POINTER);
@@ -95,12 +95,12 @@ e_tree_model_class_init (GtkObjectClass *klass)
e_tree_model_signals [NODE_REMOVED] =
gtk_signal_new ("node_removed",
GTK_RUN_LAST,
- klass->type,
+ E_OBJECT_CLASS_TYPE (klass),
GTK_SIGNAL_OFFSET (ETreeModelClass, node_removed),
e_marshal_NONE__POINTER_POINTER_INT,
GTK_TYPE_NONE, 3, GTK_TYPE_POINTER, GTK_TYPE_POINTER, GTK_TYPE_INT);
- gtk_object_class_add_signals (klass, e_tree_model_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (klass, e_tree_model_signals, LAST_SIGNAL);
tree_class->get_root = NULL;
diff --git a/widgets/table/e-tree-sorted.c b/widgets/table/e-tree-sorted.c
index e1c960d078..7045d63a7d 100644
--- a/widgets/table/e-tree-sorted.c
+++ b/widgets/table/e-tree-sorted.c
@@ -1183,12 +1183,12 @@ e_tree_sorted_class_init (ETreeSortedClass *klass)
signals [NODE_RESORTED] =
gtk_signal_new ("node_resorted",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeSortedClass, node_resorted),
gtk_marshal_NONE__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
- gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, signals, LAST_SIGNAL);
}
static void
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index a89eb82f0c..abb5bdcec8 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -2396,7 +2396,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [CURSOR_CHANGE] =
gtk_signal_new ("cursor_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, cursor_change),
gtk_marshal_NONE__INT_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_POINTER);
@@ -2404,7 +2404,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [CURSOR_ACTIVATED] =
gtk_signal_new ("cursor_activated",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, cursor_activated),
gtk_marshal_NONE__INT_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_POINTER);
@@ -2412,7 +2412,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [SELECTION_CHANGE] =
gtk_signal_new ("selection_change",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, selection_change),
gtk_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -2420,7 +2420,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [DOUBLE_CLICK] =
gtk_signal_new ("double_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, double_click),
e_marshal_NONE__INT_POINTER_INT_POINTER,
GTK_TYPE_NONE, 4, GTK_TYPE_INT, GTK_TYPE_POINTER, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2428,7 +2428,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [RIGHT_CLICK] =
gtk_signal_new ("right_click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, right_click),
e_marshal_INT__INT_POINTER_INT_POINTER,
GTK_TYPE_INT, 4, GTK_TYPE_INT, GTK_TYPE_POINTER, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2436,7 +2436,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [CLICK] =
gtk_signal_new ("click",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, click),
e_marshal_INT__INT_POINTER_INT_POINTER,
GTK_TYPE_INT, 4, GTK_TYPE_INT, GTK_TYPE_POINTER, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2444,7 +2444,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [KEY_PRESS] =
gtk_signal_new ("key_press",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, key_press),
e_marshal_INT__INT_POINTER_INT_POINTER,
GTK_TYPE_INT, 4, GTK_TYPE_INT, GTK_TYPE_POINTER, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2452,7 +2452,7 @@ e_tree_class_init (ETreeClass *class)
et_signals [START_DRAG] =
gtk_signal_new ("start_drag",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, start_drag),
e_marshal_NONE__INT_POINTER_INT_POINTER,
GTK_TYPE_NONE, 4, GTK_TYPE_INT, GTK_TYPE_POINTER, GTK_TYPE_INT, GTK_TYPE_GDK_EVENT);
@@ -2460,7 +2460,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_BEGIN] =
gtk_signal_new ("tree_drag_begin",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_begin),
e_marshal_NONE__INT_POINTER_INT_POINTER,
GTK_TYPE_NONE, 4,
@@ -2471,7 +2471,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_END] =
gtk_signal_new ("tree_drag_end",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_end),
e_marshal_NONE__INT_POINTER_INT_POINTER,
GTK_TYPE_NONE, 4,
@@ -2482,7 +2482,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_DATA_GET] =
gtk_signal_new ("tree_drag_data_get",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_data_get),
e_marshal_NONE__INT_POINTER_INT_POINTER_POINTER_UINT_UINT,
GTK_TYPE_NONE, 7,
@@ -2496,7 +2496,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_DATA_DELETE] =
gtk_signal_new ("tree_drag_data_delete",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_data_delete),
e_marshal_NONE__INT_POINTER_INT_POINTER,
GTK_TYPE_NONE, 4,
@@ -2508,7 +2508,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_LEAVE] =
gtk_signal_new ("tree_drag_leave",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_leave),
e_marshal_NONE__INT_POINTER_INT_POINTER_UINT,
GTK_TYPE_NONE, 5,
@@ -2520,7 +2520,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_MOTION] =
gtk_signal_new ("tree_drag_motion",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_motion),
e_marshal_BOOL__INT_POINTER_INT_POINTER_INT_INT_UINT,
GTK_TYPE_BOOL, 7,
@@ -2534,7 +2534,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_DROP] =
gtk_signal_new ("tree_drag_drop",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_drop),
e_marshal_BOOL__INT_POINTER_INT_POINTER_INT_INT_UINT,
GTK_TYPE_BOOL, 7,
@@ -2548,7 +2548,7 @@ e_tree_class_init (ETreeClass *class)
et_signals[TREE_DRAG_DATA_RECEIVED] =
gtk_signal_new ("tree_drag_data_received",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, tree_drag_data_received),
e_marshal_NONE__INT_POINTER_INT_POINTER_INT_INT_POINTER_UINT_UINT,
GTK_TYPE_NONE, 9,
@@ -2562,14 +2562,14 @@ e_tree_class_init (ETreeClass *class)
GTK_TYPE_UINT,
GTK_TYPE_UINT);
- gtk_object_class_add_signals (object_class, et_signals, LAST_SIGNAL);
+ E_OBJECT_CLASS_ADD_SIGNALS (object_class, et_signals, LAST_SIGNAL);
class->set_scroll_adjustments = set_scroll_adjustments;
widget_class->set_scroll_adjustments_signal =
gtk_signal_new ("set_scroll_adjustments",
GTK_RUN_LAST,
- object_class->type,
+ E_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (ETreeClass, set_scroll_adjustments),
gtk_marshal_NONE__POINTER_POINTER,
GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);