aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:44:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-08 03:45:43 +0800
commit79741ccd3f90c4c8aab672b508606d63c3899584 (patch)
tree1665585e797b21156c17595263d7f47bc43bebff /widgets/table
parentc5a010f9ac7087a2d7b050497977182161ed115c (diff)
downloadgsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.gz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.bz2
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.lz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.xz
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.tar.zst
gsoc2013-evolution-79741ccd3f90c4c8aab672b508606d63c3899584.zip
BugĀ 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-header-item.c2
-rw-r--r--widgets/table/gal-a11y-e-cell-registry.c2
-rw-r--r--widgets/table/gal-a11y-e-cell.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index ed468b3c58..067ce72c4b 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1761,7 +1761,7 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e)
ethi->maybe_drag = TRUE;
is_pointer_on_division (ethi, x, &start, &col);
ethi->selected_col = col;
- if (GTK_WIDGET_CAN_FOCUS (GTK_WIDGET (item->canvas)))
+ if (gtk_widget_get_can_focus (GTK_WIDGET (item->canvas)))
e_canvas_item_grab_focus (item, TRUE);
} else if (e->button.button == 3) {
ethi_header_context_menu (ethi, &e->button);
diff --git a/widgets/table/gal-a11y-e-cell-registry.c b/widgets/table/gal-a11y-e-cell-registry.c
index 5c741e1955..14ee7e7b2a 100644
--- a/widgets/table/gal-a11y-e-cell-registry.c
+++ b/widgets/table/gal-a11y-e-cell-registry.c
@@ -122,7 +122,7 @@ gal_a11y_e_cell_registry_get_object (GalA11yECellRegistry *registry,
registry = default_registry;
}
- type = GTK_OBJECT_TYPE (cell_view->ecell);
+ type = G_OBJECT_TYPE (cell_view->ecell);
while (func == NULL && type != 0) {
func = g_hash_table_lookup (registry->priv->table, GINT_TO_POINTER (type));
type = g_type_parent (type);
diff --git a/widgets/table/gal-a11y-e-cell.c b/widgets/table/gal-a11y-e-cell.c
index 65f08f22d3..e9e5eb0455 100644
--- a/widgets/table/gal-a11y-e-cell.c
+++ b/widgets/table/gal-a11y-e-cell.c
@@ -212,7 +212,7 @@ gal_a11y_e_cell_grab_focus (AtkComponent *component)
GTK_WIDGET (GNOME_CANVAS_ITEM (a11y->item)->canvas));
toplevel = gtk_widget_get_toplevel (
GTK_WIDGET (GNOME_CANVAS_ITEM (a11y->item)->canvas));
- if (toplevel && GTK_WIDGET_TOPLEVEL (toplevel))
+ if (toplevel && gtk_widget_is_toplevel (toplevel))
gtk_window_present (GTK_WINDOW (toplevel));
return TRUE;