aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas-utils.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-12 03:21:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-12 03:21:17 +0800
commit18fc8bd2e813f09e548185bb153fa980f717cfc9 (patch)
tree22da4958a461bb673f9945ae61860e4e89a94f1c /widgets/misc/e-canvas-utils.c
parentad1842ed0fa359b7fd8dd734e0e3c34cbb72e289 (diff)
downloadgsoc2013-evolution-18fc8bd2e813f09e548185bb153fa980f717cfc9.tar.gz
gsoc2013-evolution-18fc8bd2e813f09e548185bb153fa980f717cfc9.tar.zst
gsoc2013-evolution-18fc8bd2e813f09e548185bb153fa980f717cfc9.zip
Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with g_object_(un)?ref(). * gal/widgets/e-canvas-utils.c: Likewise. * gal/widgets/e-canvas.c: Likewise. * gal/widgets/e-categories-master-list-combo.c: Likewise. * gal/widgets/e-categories-master-list-dialog-model.c: Likewise. * gal/widgets/e-categories-master-list-dialog.c: Likewise. * gal/widgets/e-categories-master-list-option-menu.c: Likewise. * gal/widgets/e-categories.c: Likewise. * gal/widgets/e-gui-utils.c: Likewise. * gal/widgets/e-popup-menu.c: Likewise. * gal/widgets/e-reflow-sorted.c: Likewise. * gal/widgets/e-reflow.c: Likewise. * gal/widgets/e-selection-model.c: Likewise. * gal/widgets/gtk-combo-box.c: Likewise. * gal/widgets/widget-pixmap-combo.c: Likewise. svn path=/trunk/; revision=18705
Diffstat (limited to 'widgets/misc/e-canvas-utils.c')
-rw-r--r--widgets/misc/e-canvas-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-canvas-utils.c b/widgets/misc/e-canvas-utils.c
index 1bd51d070e..629804a2d7 100644
--- a/widgets/misc/e-canvas-utils.c
+++ b/widgets/misc/e-canvas-utils.c
@@ -144,7 +144,7 @@ show_area_timeout (gpointer data)
DoubsAndCanvas *dac = data;
e_canvas_show_area(dac->canvas, dac->x1, dac->y1, dac->x2, dac->y2);
- gtk_object_unref(GTK_OBJECT(dac->canvas));
+ g_object_unref (dac->canvas);
g_free(dac);
return FALSE;
}
@@ -166,6 +166,6 @@ e_canvas_item_show_area_delayed (GnomeCanvasItem *item, double x1, double y1, do
dac->x2 = x2;
dac->y2 = y2;
dac->canvas = item->canvas;
- gtk_object_ref(GTK_OBJECT(item->canvas));
+ g_object_ref (item->canvas);
g_timeout_add(delay, show_area_timeout, dac);
}