diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-17 08:02:53 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-17 08:02:53 +0800 |
commit | 0bbe38655b71d4dd71277a1ecee246732f9fc2b1 (patch) | |
tree | 10655a0c2acb5f300986dfcfb90e5dbb3645d337 /widgets/table/test-table.c | |
parent | d8e4ebebc320c72ae93c88dc43d8ae220a94331d (diff) | |
download | gsoc2013-evolution-0bbe38655b71d4dd71277a1ecee246732f9fc2b1.tar.gz gsoc2013-evolution-0bbe38655b71d4dd71277a1ecee246732f9fc2b1.tar.zst gsoc2013-evolution-0bbe38655b71d4dd71277a1ecee246732f9fc2b1.zip |
GObject port work.
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-cell-checkbox.[ch]: GObject port work.
* e-cell-combo.[ch]: same.
* e-cell-date.[ch]: same.
* e-cell-float.[ch]: same.
* e-cell-number.[ch]: same.
* e-cell-pixbuf.[ch]: same.
* e-cell-popup.[ch]: same.
* e-cell-progress.[ch]: same.
* e-cell-size.[ch]: same.
* e-cell-spin-button.[ch]: same.
* e-cell-text.[ch]: same.
* e-cell-toggle.[ch]: same.
* e-cell-tree.[ch]: same.
* e-cell-vbox.[ch]: same.
* e-cell.[ch]: same.
* e-table-col.c: same.
* e-table-column.c: same.
* e-table-config-field.[ch]: same.
* e-table-config.c: same.
* e-table-config.glade: same.
* e-table-field-chooser-dialog.[ch]: same.
* e-table-field-chooser-item.[ch]: same.
* e-table-field-chooser.[ch]: same.
* e-table-group-container.[ch]: same.
* e-table-group-leaf.[ch]: same.
* e-table-group.[ch]: same.
* e-table-header-item.[ch]: same.
* e-table-header-utils.[ch]: same.
* e-table-header.c: same.
* e-table-item.[ch]: same.
* e-table-scrolled.[ch]: same.
* e-table-utils.c: same.
* e-table.[ch]: same.
* e-tree-memory-callbacks.h: same.
* e-tree-scrolled.[ch]: same.
* e-tree-sorted-variable.c: same.
* e-tree.[ch]: same.
* test-check.c: same.
* test-cols.c: same.
* test-table.c: same.
svn path=/trunk/; revision=18801
Diffstat (limited to 'widgets/table/test-table.c')
-rw-r--r-- | widgets/table/test-table.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/widgets/table/test-table.c b/widgets/table/test-table.c index 9ef77c6c2d..b44b62bf42 100644 --- a/widgets/table/test-table.c +++ b/widgets/table/test-table.c @@ -303,8 +303,8 @@ table_browser_test (void) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); canvas = e_canvas_new (); - gtk_signal_connect (GTK_OBJECT (canvas), "size_allocate", - GTK_SIGNAL_FUNC (set_canvas_size), NULL); + g_signal_connect (canvas, "size_allocate", + G_CALLBACK (set_canvas_size), NULL); gtk_container_add (GTK_CONTAINER (window), canvas); gtk_widget_show_all (window); @@ -359,8 +359,8 @@ toggle_grid (void *nothing, ETable *etable) { static gboolean shown; - gtk_object_get (GTK_OBJECT (etable), "drawgrid", &shown, NULL); - gtk_object_set (GTK_OBJECT (etable), "drawgrid", !shown, NULL); + g_object_get (etable, "drawgrid", &shown, NULL); + g_object_set (etable, "drawgrid", !shown, NULL); } static void @@ -411,17 +411,17 @@ compare=\"string\"/>\n", i, column_labels[i]); e_table = e_table_new (e_table_model, NULL, spec->str, state); /* This makes value_at not called just to determine row height. */ - gtk_object_set (GTK_OBJECT (e_table), - "uniform_row_height", 1, - NULL); + g_object_set (e_table, + "uniform_row_height", 1, + NULL); g_string_free (spec, TRUE); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); frame = gtk_frame_new (NULL); #ifdef BIT_ROT - gtk_signal_connect (GTK_OBJECT(e_table), "row_selection", - GTK_SIGNAL_FUNC(row_selection_test), NULL); + g_signal_connect (e_table, "row_selection", + G_CALLBACK(row_selection_test), NULL); #endif vbox = gtk_vbox_new (FALSE, 0); @@ -434,13 +434,13 @@ compare=\"string\"/>\n", i, column_labels[i]); * gadgets */ button = gtk_button_new_with_label ("Save spec"); - gtk_signal_connect (GTK_OBJECT (button), "clicked", - GTK_SIGNAL_FUNC (save_spec), e_table); + g_signal_connect (button, "clicked", + G_CALLBACK (save_spec), e_table); gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); bhide = gtk_button_new_with_label ("Toggle Grid"); - gtk_signal_connect (GTK_OBJECT (bhide), "clicked", - GTK_SIGNAL_FUNC (toggle_grid), e_table); + g_signal_connect (bhide, "clicked", + G_CALLBACk (toggle_grid), e_table); gtk_box_pack_start (GTK_BOX (vbox), bhide, FALSE, FALSE, 0); #endif |