diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-06-15 09:38:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-06-15 09:38:53 +0800 |
commit | a55021bcef7eb082b48e56aac361bd35a3a77b64 (patch) | |
tree | 9bcf1c1bbf522c87beac5d199b258f8aa24c7d7e /libgnomecanvas/gnome-canvas-line.c | |
parent | ead63f16b2269325c1e4080b3dce8818bbafe189 (diff) | |
download | gsoc2013-evolution-a55021bcef7eb082b48e56aac361bd35a3a77b64.tar.gz gsoc2013-evolution-a55021bcef7eb082b48e56aac361bd35a3a77b64.tar.zst gsoc2013-evolution-a55021bcef7eb082b48e56aac361bd35a3a77b64.zip |
Revert "Fix all remaining GTK3 issues."
This reverts commit fd8b55edaa88906b588aa07d9eadcacd34a7a774.
Something in this commit seriously hosed ETable, making Evolution pretty
much unusable. Reverting this until I can track down the problem.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-line.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-line.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libgnomecanvas/gnome-canvas-line.c b/libgnomecanvas/gnome-canvas-line.c index fa7c74ccc1..48cafb71c7 100644 --- a/libgnomecanvas/gnome-canvas-line.c +++ b/libgnomecanvas/gnome-canvas-line.c @@ -1096,18 +1096,14 @@ gnome_canvas_line_update (GnomeCanvasItem *item, double *affine, ArtSVP *clip_pa static void gnome_canvas_line_realize (GnomeCanvasItem *item) { - GtkLayout *layout; GnomeCanvasLine *line; - GdkWindow *bin_window; line = GNOME_CANVAS_LINE (item); if (parent_class->realize) (* parent_class->realize) (item); - layout = GTK_LAYOUT (item->canvas); - bin_window = gtk_layout_get_bin_window (layout); - line->gc = gdk_gc_new (bin_window); + line->gc = gdk_gc_new (item->canvas->layout.bin_window); #if 0 (* GNOME_CANVAS_ITEM_CLASS (item->object.klass)->update) (item, NULL, NULL, 0); |