d89e767a1c
Coding style and whitespace cleanup.
2012-09-01 08:06:32 -04:00
07be2453e0
Remove all GDK threads usage.
...
According to [1], we don't need to worry about GDK's global lock since
we don't call gdk_threads_init() or gdk_threads_set_lock_functions().
The GDK threads API is being aggressively deprecated by GTK+ developers
so let's just abandon it entirely. I've never really understood when
you're supposed to use it or not use it anyway, so it's good to be rid
of this confusion.
[1] https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00005.html
2012-08-05 22:12:26 -04:00
f22e38ffad
Use template files to generate GEnumClass types.
2012-07-17 13:49:09 -04:00
f960fd2dff
Reduce usage of g_type_class_peek_parent().
...
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
731122a46e
Delete unused GnomeCanvasRichText.
2012-06-18 21:29:21 -04:00
5e379370ae
Bug #671585 - Add support for smooth scrolling devices
2012-05-15 16:24:29 +02:00
299521f02c
Whitespace cleanup.
...
Replace 8-space indentation with tab characters, and various other
automated cleanups.
2012-04-01 23:15:38 -04:00
23f5773903
Coding style and whitespace cleanup.
2012-02-20 10:04:25 -05:00
1600064022
Bug #591436 - Add -avoid-version to LDFLAGS
2012-02-15 11:22:21 +01:00
e64d6fe05c
Miscellaneous cleanups.
2011-11-22 20:43:04 -05:00
5ddad03992
Remove Ctrl + l () character from source files
...
From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net >
Date: Wed, 28 Sep 2011 10:18:18 +0200
Subject: [PATCH] Remove Ctrl + l () character from source files
The following commits
git show aac3f2c8
git show 1510304c
git show 13cabd9e
git show 350a7a33
git show 9b7cc54d
git show e6972011
git show 1d3a7938
git show 934524b9
git show b2954936
git show a7f677b5
git show 4369c400
git show d509f47a
git show a6d5818f
git show c3876df7
git show 4583098b
git show 2831ada5
git show 4e1bce59
git show 1609f699
git show 4e4c1676
git show d6fade43
among others(?) introduced several occurrences of Ctrl + l (). Probably this was caused by the used editor.
These control characters can be searched for using the following command [1].
$ git grep ^L
[1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
2011-09-29 21:12:10 +02:00
fcbbdfbd18
Coding style and whitespace cleanup.
2011-09-04 07:34:32 -04:00
bd719c5fd8
Bug 657765 - Explicitly link libgnomecanvas against libm
...
We used to implicitly link to libm through gtk+, but that got dropped.
http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
2011-08-30 21:24:21 -04:00
db58289bdf
Invalidate region by one more pixel in width and height
2011-08-18 18:56:02 +02:00
830102ae9f
Bug 652629 - GnomeCanvas: Disregard synthesized crossing events
...
synth_crossing() in gtkwidget.c does not set valid pointer coordinates,
but GnomeCanvas relies on these coordinates to figure out what canvas
item the event applies to.
Detect these synthesized GDK_ENTER_NOTIFY and GDK_LEAVE_NOTIFY events
and disregard them.
This was breaking drag-and-drop of EMinicards and probably elsewhere.
2011-07-10 12:28:29 -04:00
f014ab82c8
Coding style and whitespace cleanups.
2011-06-08 13:14:48 -04:00
394e580dfd
Including <glib.h> directly is rarely needed.
2011-05-28 10:39:52 -04:00
756c8abcb8
Bug #646109 - Fix use of include <config.h> to make sure translations work
2011-05-27 15:23:07 +02:00
cb97c2dc8f
Coding style and whitespace cleanup.
2011-05-21 17:56:06 -04:00
8a186c3588
Coding style cleanups.
2011-05-08 13:37:20 -04:00
4cfb84c573
Whitespace and coding style cleanups.
2011-05-07 18:48:38 -04:00
c6fd77460f
Coding style and whitespace cleanup.
2011-03-05 12:34:28 -05:00
1301cf02ef
Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly
2011-02-25 16:20:41 +01:00
fcb29478f6
Coding style and whitespace cleanup.
2011-02-18 20:44:24 -05:00
7a1677520d
Remove NULL checks for GObject methods.
...
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally. Remove unnecessary checks.
2011-02-12 12:54:08 -05:00
a56bf39d6a
Bug #641502 - Flickering while resizing the mail list
2011-02-10 14:49:57 +01:00
2c31a5bc23
Bug 641756 - Fix warnings from GCC 4.6
...
GCC learned how to find dead assignments.
2011-02-08 11:57:50 -05:00
f5c6386947
Fix cairo-gobject.h include path
2011-02-03 19:01:25 +01:00
0109aa3a92
More whitespace cleanup.
2011-01-30 11:33:28 -05:00
21ab8044da
Coding style and whitespace cleanup.
2011-01-29 20:22:57 -05:00
691008dd13
Adapt GnomeCanvas to latest gtk+-3.0 API.
2011-01-26 08:49:11 -05:00
753c60fc67
Drop backward-compatibility cruft.
2011-01-25 10:28:26 -05:00
d1b440a268
Remove some unused gnome-canvas options.
...
Simplifies the drawing code a bit.
Public API removed:
GnomeCanvas.center_scroll_region (is always TRUE)
GnomeCanvas.pixels_per_unit (is always 1.0)
gnome_canvas_set_center_scroll_region()
gnome_canvas_get_center_scroll_region()
gnome_canvas_set_pixels_per_unit()
2011-01-15 12:11:31 -05:00
d47adb5922
Fudge GtkScrollable for gtk2.
...
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
2011-01-14 14:58:30 -05:00
41117c2b8c
Bug #633774 - Headers are gone in grouped view
2010-11-15 11:10:15 +01:00
a891b81cfb
Coding style and whitespace cleanup.
2010-11-07 21:13:03 -05:00
c2b2e863cb
Add forgotten cairo_destroy() calls
2010-11-02 11:17:51 +01:00
52fbacb68d
Revert my previous revert for GnomeCanvasShape.
...
This reverts commit 0faef9453c .
Turns out it broke ETable/ETree pretty badly.
2010-10-29 14:42:26 -04:00
d5270dae60
Fix gnome_canvas_rect_draw().
...
Need to subtract the pixmap offset from the rectangle's coordinates.
2010-10-29 13:51:39 -04:00
a6a004b8f5
Merge GnomeCanvasShape into GnomeCanvasRect.
...
GnomeCanvasRect is the only subclass of GnomeCanvasShape,
and passing Cairo paths around doesn't seem to work well.
2010-10-29 13:51:39 -04:00
a68d0f50da
Fix typo in gnome_canvas_shape_update().
2010-10-29 13:51:39 -04:00
0faef9453c
Revert "gnome-canvas: Fix bounding box calculation in GnomeCanvasShape"
...
This reverts commit ecd07f3f735debf9bad03543394f3db0f0714b8a.
Actually you do want world coordinates, but the typo fixed in the
next commit was probably causing strange and confusing behavior.
2010-10-29 13:51:39 -04:00
ffcadeeaa3
GnomeCanvasShape: Make color string parsing more robust
2010-10-29 13:51:39 -04:00
71811d735e
Fix matrix in gnome_canvas_shape_draw().
...
The path is in item coordinates, so we need an "i2c" matrix, not "c2i".
2010-10-29 13:51:39 -04:00
50d5ba94a6
Fix typos in gnome_canvas_shape_bounds().
2010-10-29 13:51:38 -04:00
d33983e34f
Rename GnomeCanvasItem.destroy() to dispose().
...
To clarify the semantics: the method may be called multiple times
so pointers should be set to NULL after freeing or unreferencing.
2010-10-29 13:51:38 -04:00
65b1049d70
Fix gnome_canvas_item_w2i_matrix().
...
Was returning an inverted matrix: i2w instead of w2i.
2010-10-29 13:51:38 -04:00
b5f2dc92ff
Actually set the path in gnome_canvas_shape_set_path().
2010-10-29 13:51:38 -04:00
df5ff95999
Adapt branch for building with GTK+ 2.22.
2010-10-29 13:51:38 -04:00
200df519f1
gnome-canvas: Remove functions that allocate colors
...
Cairo doesn't need allocated colors.
Yay, gnome-canvas now compiles with GDK_DISABLE_DEPRECATED.
2010-10-29 13:50:04 -04:00