]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoGtkThemingEngine: Add vmethod to render sliders.
Carlos Garnacho [Sat, 27 Mar 2010 20:20:21 +0000 (21:20 +0100)]
GtkThemingEngine: Add vmethod to render sliders.

13 years agoGtkStyleContext: Add gtk_render_line().
Carlos Garnacho [Sat, 27 Mar 2010 20:18:24 +0000 (21:18 +0100)]
GtkStyleContext: Add gtk_render_line().

13 years agoGtkThemingEngine: Add vmethod to render lines.
Carlos Garnacho [Sat, 27 Mar 2010 20:17:22 +0000 (21:17 +0100)]
GtkThemingEngine: Add vmethod to render lines.

13 years agoGtkStyleContext: Add gtk_render_layout().
Carlos Garnacho [Sat, 27 Mar 2010 19:22:44 +0000 (20:22 +0100)]
GtkStyleContext: Add gtk_render_layout().

13 years agoGtkThemingEngine: Add vmethod to render layouts.
Carlos Garnacho [Sat, 27 Mar 2010 19:21:55 +0000 (20:21 +0100)]
GtkThemingEngine: Add vmethod to render layouts.

13 years agoGtkStyleContext: Add gtk_render_focus().
Carlos Garnacho [Sat, 27 Mar 2010 19:19:53 +0000 (20:19 +0100)]
GtkStyleContext: Add gtk_render_focus().

13 years agoGtkThemingEngine: Add vmethod to render focus indicator.
Carlos Garnacho [Sat, 27 Mar 2010 19:18:38 +0000 (20:18 +0100)]
GtkThemingEngine: Add vmethod to render focus indicator.

13 years agoGtkStyleContext: Add gtk_render_expander().
Carlos Garnacho [Sat, 27 Mar 2010 19:16:44 +0000 (20:16 +0100)]
GtkStyleContext: Add gtk_render_expander().

13 years agoGtkThemingEngine: Add vmethod to render expanders.
Carlos Garnacho [Sat, 27 Mar 2010 19:15:45 +0000 (20:15 +0100)]
GtkThemingEngine: Add vmethod to render expanders.

13 years agoGtkStyleContext: Add gtk_render_frame().
Carlos Garnacho [Sat, 27 Mar 2010 19:12:46 +0000 (20:12 +0100)]
GtkStyleContext: Add gtk_render_frame().

13 years agoGtkThemingEngine: Add vmethod to render frames.
Carlos Garnacho [Sat, 27 Mar 2010 19:11:31 +0000 (20:11 +0100)]
GtkThemingEngine: Add vmethod to render frames.

13 years agoGtkStyleContext: Add gtk_render_background().
Carlos Garnacho [Sat, 27 Mar 2010 19:08:23 +0000 (20:08 +0100)]
GtkStyleContext: Add gtk_render_background().

13 years agoGtkThemingEngine: Add vmethod to render backgrounds.
Carlos Garnacho [Sat, 27 Mar 2010 19:06:44 +0000 (20:06 +0100)]
GtkThemingEngine: Add vmethod to render backgrounds.

13 years agoGtkStyleContext: Add gtk_render_arrow().
Carlos Garnacho [Sat, 27 Mar 2010 18:57:54 +0000 (19:57 +0100)]
GtkStyleContext: Add gtk_render_arrow().

13 years agoGtkThemingEngine: Add vmethod to render arrows.
Carlos Garnacho [Sat, 27 Mar 2010 17:50:39 +0000 (18:50 +0100)]
GtkThemingEngine: Add vmethod to render arrows.

13 years agoGtkStyleContext: Add gtk_render_option().
Carlos Garnacho [Sat, 20 Mar 2010 16:40:21 +0000 (17:40 +0100)]
GtkStyleContext: Add gtk_render_option().

13 years agoGtkThemingEngine: Add vmethod to render radio buttons.
Carlos Garnacho [Sat, 20 Mar 2010 16:37:34 +0000 (17:37 +0100)]
GtkThemingEngine: Add vmethod to render radio buttons.

13 years agoGtkStyleContext: Add gtk_render_check().
Carlos Garnacho [Sat, 20 Mar 2010 13:26:11 +0000 (14:26 +0100)]
GtkStyleContext: Add gtk_render_check().

13 years agoGtkThemingEngine: Add vmethod to render checkboxes.
Carlos Garnacho [Sat, 20 Mar 2010 13:17:40 +0000 (14:17 +0100)]
GtkThemingEngine: Add vmethod to render checkboxes.

13 years agoGtkThemingEngine: Add accessors to style classes.
Carlos Garnacho [Sat, 20 Mar 2010 13:13:50 +0000 (14:13 +0100)]
GtkThemingEngine: Add accessors to style classes.

13 years agoGtkWidget: Add widget path to style context.
Carlos Garnacho [Sat, 20 Mar 2010 12:30:05 +0000 (13:30 +0100)]
GtkWidget: Add widget path to style context.

13 years agoGtkStyleContext: Add child style classes.
Carlos Garnacho [Sat, 20 Mar 2010 12:07:41 +0000 (13:07 +0100)]
GtkStyleContext: Add child style classes.

Child style classes are like style classes, but with additional positional
information. This would be usually set by the parent container.

13 years agoGtkStyleContext: Add style classes.
Carlos Garnacho [Sat, 20 Mar 2010 12:02:20 +0000 (13:02 +0100)]
GtkStyleContext: Add style classes.

Style classes are the replacement of detail strings.

13 years agoGtkStyleContext: Relate to a GtkThemingEngine.
Carlos Garnacho [Sat, 13 Mar 2010 19:08:06 +0000 (20:08 +0100)]
GtkStyleContext: Relate to a GtkThemingEngine.

13 years agoGtkThemingEngine: Add module loading capabilities.
Carlos Garnacho [Sat, 13 Mar 2010 17:35:35 +0000 (18:35 +0100)]
GtkThemingEngine: Add module loading capabilities.

13 years agoAdd GtkThemingEngine.
Carlos Garnacho [Sat, 13 Mar 2010 10:23:23 +0000 (11:23 +0100)]
Add GtkThemingEngine.

GtkThemingEngine will be the theming engines base class, with default
implementations for all paint functions, and readonly access to the
related GtkStyleContext data.

13 years agoGtkStyleContext: Add gtk_style_context_[gs]et_path()
Carlos Garnacho [Sat, 13 Mar 2010 10:15:42 +0000 (11:15 +0100)]
GtkStyleContext: Add gtk_style_context_[gs]et_path()

This relates a GtkStyleContext with a widget path, so
all style querying would happen based on it.

13 years agoGtkWidget: Add gtk_widget_get_path().
Carlos Garnacho [Fri, 12 Mar 2010 18:02:33 +0000 (19:02 +0100)]
GtkWidget: Add gtk_widget_get_path().

This function composes and returns a GtkWidgetPath representing
the passed widget.

13 years agoAdd GtkWidgetPath.
Carlos Garnacho [Fri, 12 Mar 2010 17:55:54 +0000 (18:55 +0100)]
Add GtkWidgetPath.

GtkWidgetPath represents a widget path. It will mainly used by theming
engines to know detail about the widget hierarchy without actually
accessing the widget.

13 years agoGtkStyleContext: Add getters and setter for state.
Carlos Garnacho [Wed, 10 Mar 2010 00:02:46 +0000 (01:02 +0100)]
GtkStyleContext: Add getters and setter for state.

13 years agoGtkWidget: Add gtk_widget_get_style_context().
Carlos Garnacho [Tue, 9 Mar 2010 23:55:48 +0000 (00:55 +0100)]
GtkWidget: Add gtk_widget_get_style_context().

There will be one GtkStyleContext per widget, at the moment its
lifetime is tied to the widget's, but it could be narrowed down
to GTK_WIDGET_REALIZED.

13 years agoAdd GtkStateFlags.
Carlos Garnacho [Tue, 9 Mar 2010 23:52:57 +0000 (00:52 +0100)]
Add GtkStateFlags.

It basically represents GtkStateType as a flag set.

13 years agoGtkStateType: Add inconsistent and focused state.
Carlos Garnacho [Tue, 9 Mar 2010 23:28:18 +0000 (00:28 +0100)]
GtkStateType: Add inconsistent and focused state.

13 years agoGtkStyleContext: Fix typo.
Carlos Garnacho [Sun, 7 Mar 2010 18:58:35 +0000 (19:58 +0100)]
GtkStyleContext: Fix typo.

13 years agoGtkStyleSet: Add method to register border property.
Carlos Garnacho [Sun, 7 Mar 2010 18:57:53 +0000 (19:57 +0100)]
GtkStyleSet: Add method to register border property.

13 years agoGtkStyleSet: Add method to register font properties.
Carlos Garnacho [Sun, 7 Mar 2010 18:07:27 +0000 (19:07 +0100)]
GtkStyleSet: Add method to register font properties.

13 years agoGtkStyleContext: Add methods to query composed style.
Carlos Garnacho [Sun, 7 Mar 2010 00:22:38 +0000 (01:22 +0100)]
GtkStyleContext: Add methods to query composed style.

13 years agoGtkStyleSet: Return default value if value is not set.
Carlos Garnacho [Sat, 6 Mar 2010 18:52:18 +0000 (19:52 +0100)]
GtkStyleSet: Return default value if value is not set.

13 years agoGtkStyleSet: Add valist and varargs getters/setters.
Carlos Garnacho [Fri, 5 Mar 2010 02:02:59 +0000 (03:02 +0100)]
GtkStyleSet: Add valist and varargs getters/setters.

13 years agoGtkStyleSet: Use property GQuark as store keys.
Carlos Garnacho [Fri, 5 Mar 2010 01:06:53 +0000 (02:06 +0100)]
GtkStyleSet: Use property GQuark as store keys.

13 years agoGtkStyleSet: Add style property registration funcs.
Carlos Garnacho [Fri, 5 Mar 2010 00:45:47 +0000 (01:45 +0100)]
GtkStyleSet: Add style property registration funcs.

Also some properties have been added as a default set.

13 years agoAdd GtkStyleContext.
Carlos Garnacho [Thu, 4 Mar 2010 22:00:30 +0000 (23:00 +0100)]
Add GtkStyleContext.

GtkStyleContext will conglomerate the information of several
GtkStyleProviders for widgets and theme engines to query it.

13 years agogtkstyleset.h: Add declaration for gtk_style_set_merge().
Carlos Garnacho [Thu, 4 Mar 2010 21:58:28 +0000 (22:58 +0100)]
gtkstyleset.h: Add declaration for gtk_style_set_merge().

13 years agoGtkStyleSet: Implement GtkStyleProvider.
Carlos Garnacho [Thu, 4 Mar 2010 21:51:56 +0000 (22:51 +0100)]
GtkStyleSet: Implement GtkStyleProvider.

As simple as it can get.

13 years agoAdd GtkStyleProvider, an interface to provide style details.
Carlos Garnacho [Thu, 4 Mar 2010 20:05:03 +0000 (21:05 +0100)]
Add GtkStyleProvider, an interface to provide style details.

The get_style() function isn't final yet, further parameters
should be added to query details based on the widget hierarchy,
name, etc.

13 years agoAdd GtkStyleSet, a store of style properties.
Carlos Garnacho [Thu, 4 Mar 2010 19:59:18 +0000 (20:59 +0100)]
Add GtkStyleSet, a store of style properties.

At the moment there's only basic API for adding,
removing and clearing a property. There's also
API to merge 2 GtkStyleSets.

13 years agoAdd GTK_STATE_LAST to mark the end of GtkState enum.
Carlos Garnacho [Thu, 4 Mar 2010 19:58:18 +0000 (20:58 +0100)]
Add GTK_STATE_LAST to mark the end of GtkState enum.

13 years agoUpdated Hebrew translation
Yaron Shahrabani [Sat, 4 Dec 2010 13:28:27 +0000 (15:28 +0200)]
Updated Hebrew translation

13 years agoAnother attempt to fix the gdk symbol list
Matthias Clasen [Sat, 4 Dec 2010 04:50:58 +0000 (23:50 -0500)]
Another attempt to fix the gdk symbol list

13 years agoUpdate sections
Matthias Clasen [Fri, 3 Dec 2010 20:41:37 +0000 (15:41 -0500)]
Update sections

13 years agoAPI: gdk: Rename GdkWindowObjectClass to GdkWindowClass
Benjamin Otte [Fri, 3 Dec 2010 15:14:31 +0000 (16:14 +0100)]
API: gdk: Rename GdkWindowObjectClass to GdkWindowClass

Be consistent in the naming of objects.

13 years agoAPI: Rename GdkWindowClass to GdkWindowWindowClass
Benjamin Otte [Fri, 3 Dec 2010 15:10:46 +0000 (16:10 +0100)]
API: Rename GdkWindowClass to GdkWindowWindowClass

We argued replacing GdkWindowClass with a input_only boolean, but this
is not doable in an API-stable way, so I decided against it.

13 years agoOne more forgotten symbol
Matthias Clasen [Fri, 3 Dec 2010 18:05:23 +0000 (13:05 -0500)]
One more forgotten symbol

13 years agoUpdate gdk symbol list
Matthias Clasen [Fri, 3 Dec 2010 18:04:42 +0000 (13:04 -0500)]
Update gdk symbol list

13 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 3 Dec 2010 17:10:08 +0000 (18:10 +0100)]
Updated Slovenian translation

13 years agoFix up parameter mismatches in the docs
Matthias Clasen [Fri, 3 Dec 2010 13:50:05 +0000 (08:50 -0500)]
Fix up parameter mismatches in the docs

And other minor gdk doc fixes.

13 years agoAdd annotation to gdk_screen_get_monitor_geometry
Matthias Clasen [Fri, 3 Dec 2010 13:21:48 +0000 (08:21 -0500)]
Add annotation to gdk_screen_get_monitor_geometry

Pointed out by William Jon McCann.

13 years agogtk: properly indent calls to gdk_threads_add_timeout()
Michael Natterer [Thu, 2 Dec 2010 22:01:12 +0000 (23:01 +0100)]
gtk: properly indent calls to gdk_threads_add_timeout()

13 years agodocs: Fix building with latest GDK changes
Bastien Nocera [Thu, 2 Dec 2010 21:01:05 +0000 (21:01 +0000)]
docs: Fix building with latest GDK changes

13 years agoDon't require a display for the color test
Matthias Clasen [Thu, 2 Dec 2010 20:58:57 +0000 (15:58 -0500)]
Don't require a display for the color test

Its not really needed, and the build bot doesn't have X...

13 years agogdk: Clean up Cairo code
Benjamin Otte [Thu, 2 Dec 2010 11:06:49 +0000 (12:06 +0100)]
gdk: Clean up Cairo code

Remove a bunch of code that is not required.

13 years agolabel: Clarify docs for gtk_label_get_layout()
Benjamin Otte [Thu, 2 Dec 2010 10:34:41 +0000 (11:34 +0100)]
label: Clarify docs for gtk_label_get_layout()

13 years agogdk: Replace direct calls of _gdk_event_func with _gdk_event_emit()
Benjamin Otte [Thu, 2 Dec 2010 09:59:37 +0000 (10:59 +0100)]
gdk: Replace direct calls of _gdk_event_func with _gdk_event_emit()

For now that function just calls the event func.

13 years agox11: Don't include gdkprivate.h in gdkx.h
Benjamin Otte [Tue, 30 Nov 2010 21:55:44 +0000 (22:55 +0100)]
x11: Don't include gdkprivate.h in gdkx.h

It's private, mkay?
And include it directly where we need it anyway.

13 years agogtk: Fix typos in comment
Benjamin Otte [Mon, 29 Nov 2010 16:51:59 +0000 (17:51 +0100)]
gtk: Fix typos in comment

13 years agogdk: Remove useless macros from gdkprivate.h
Benjamin Otte [Thu, 25 Nov 2010 14:33:25 +0000 (15:33 +0100)]
gdk: Remove useless macros from gdkprivate.h

13 years agogtk: Don't include private GDK headers
Benjamin Otte [Thu, 25 Nov 2010 14:33:01 +0000 (15:33 +0100)]
gtk: Don't include private GDK headers

Use the function that exists for this purpose instead.

13 years agogdk: Remove GDK_PANGO_UNITS_OVERFLOWS() from internal headers
Benjamin Otte [Thu, 25 Nov 2010 14:04:45 +0000 (15:04 +0100)]
gdk: Remove GDK_PANGO_UNITS_OVERFLOWS() from internal headers

It's unused.

13 years agogdk: Move window beeps into GdkWindowImpl
Benjamin Otte [Thu, 25 Nov 2010 11:28:08 +0000 (12:28 +0100)]
gdk: Move window beeps into GdkWindowImpl

One less magic function. Also refactored it to make it easier to
implement. It now returns TRUE if it beeped and FALSE if it failed to do
so. A default implementation exists that just returns FALSE for all the
backends that can't beep windows (read: everything but X11 with XKB -
and why on earth do keyboard libs implement beeping?)

13 years agogdk: Make get_shape and get_input_shape vfuncs
Benjamin Otte [Thu, 25 Nov 2010 11:17:11 +0000 (12:17 +0100)]
gdk: Make get_shape and get_input_shape vfuncs

Trying to get rid of all the _gdk_windowing_something() functions that
we expect backends to magically know about and instead put them in a
proper interface (mostly GdkWindowImplClass).

13 years agogdk: Remove GdkDrawable
Benjamin Otte [Wed, 24 Nov 2010 14:32:41 +0000 (15:32 +0100)]
gdk: Remove GdkDrawable

It's unused.

13 years agogdk: Remove remaining includes of gdkdrawable.h
Benjamin Otte [Wed, 24 Nov 2010 14:31:24 +0000 (15:31 +0100)]
gdk: Remove remaining includes of gdkdrawable.h

13 years agogdk: Make GdkWindowImpl inherit from GObject
Benjamin Otte [Wed, 24 Nov 2010 14:11:34 +0000 (15:11 +0100)]
gdk: Make GdkWindowImpl inherit from GObject

13 years agoAPI: Remove GdkNoExposeEvent
Benjamin Otte [Wed, 24 Nov 2010 13:46:49 +0000 (14:46 +0100)]
API: Remove GdkNoExposeEvent

It's not used by anyone and not supported by any backend but X11.

13 years agogdk: Make GdkWindow->impl a GdkWindowImpl
Benjamin Otte [Wed, 24 Nov 2010 13:36:45 +0000 (14:36 +0100)]
gdk: Make GdkWindow->impl a GdkWindowImpl

13 years agodocs: Replace mentions of drawable with window in migration guide
Benjamin Otte [Wed, 24 Nov 2010 13:26:04 +0000 (14:26 +0100)]
docs: Replace mentions of drawable with window in migration guide

No need to let gtk3-aware people learn about wonderous gtk2 terms when
they are migrating old code. ;)

13 years agodocs: Remove overrides for types that don't exist anymore
Benjamin Otte [Wed, 24 Nov 2010 13:24:51 +0000 (14:24 +0100)]
docs: Remove overrides for types that don't exist anymore

13 years agotests: Remove disabled testtext example
Benjamin Otte [Wed, 24 Nov 2010 13:09:48 +0000 (14:09 +0100)]
tests: Remove disabled testtext example

13 years agocellrenderer: Fix docs to say cairo_t instead of GdkDrawable
Benjamin Otte [Wed, 24 Nov 2010 12:30:28 +0000 (13:30 +0100)]
cellrenderer: Fix docs to say cairo_t instead of GdkDrawable

13 years agogdk: Pass the GdkWindow to resize_cairo_surface vfunc
Benjamin Otte [Tue, 23 Nov 2010 01:09:01 +0000 (02:09 +0100)]
gdk: Pass the GdkWindow to resize_cairo_surface vfunc

So it's in sync with all the other vfuncs.

13 years agoAPI: GdkWindow no longer is a GdkDrawable
Benjamin Otte [Tue, 23 Nov 2010 00:54:37 +0000 (01:54 +0100)]
API: GdkWindow no longer is a GdkDrawable

Also, name the get_type function properly.

13 years agox11: Remove unused GDK_DRAWABLE_XROOTWIN macro
Benjamin Otte [Tue, 23 Nov 2010 00:52:33 +0000 (01:52 +0100)]
x11: Remove unused GDK_DRAWABLE_XROOTWIN macro

13 years agox11: Remove duplicate definition of GDK_WINDOW_XID
Benjamin Otte [Tue, 23 Nov 2010 00:47:50 +0000 (01:47 +0100)]
x11: Remove duplicate definition of GDK_WINDOW_XID

Now, where did that come from?

13 years agogdk: Move ref_cairo_surface from GdkDrawable to GdkWindowImpl
Benjamin Otte [Tue, 23 Nov 2010 00:46:03 +0000 (01:46 +0100)]
gdk: Move ref_cairo_surface from GdkDrawable to GdkWindowImpl

Also make it take the actual GdkWindow, not the implementation, like all
the other vfuncs do.

13 years agogdk: Remove _gdk_drawable_ref_cairo_surface()
Benjamin Otte [Tue, 23 Nov 2010 00:32:19 +0000 (01:32 +0100)]
gdk: Remove _gdk_drawable_ref_cairo_surface()

Instead, call the vfunc directly from gdkWindow.c

13 years agox11: Remove outdated variable definition
Benjamin Otte [Tue, 23 Nov 2010 00:09:22 +0000 (01:09 +0100)]
x11: Remove outdated variable definition

13 years agogdk: Remove GdkDrawable->create_cairo_surface vfunc
Benjamin Otte [Tue, 23 Nov 2010 00:08:08 +0000 (01:08 +0100)]
gdk: Remove GdkDrawable->create_cairo_surface vfunc

It's unused.

13 years agogdk: Remove _gdk_window_impl_get_type() function
Benjamin Otte [Tue, 23 Nov 2010 00:03:55 +0000 (01:03 +0100)]
gdk: Remove _gdk_window_impl_get_type() function

It was only used in the backends, and they can use the correct type
directly.

13 years agox11: Fix in_rectangle computation
Benjamin Otte [Mon, 22 Nov 2010 23:56:33 +0000 (00:56 +0100)]
x11: Fix in_rectangle computation

A point is not in a rectangle when it's at the x + width coordinate.

13 years agogdk: Rename GdkWindowObject to GdkWindow
Benjamin Otte [Mon, 22 Nov 2010 23:55:39 +0000 (00:55 +0100)]
gdk: Rename GdkWindowObject to GdkWindow

... and remove most of the casting that used to be necessary.

13 years agogdk: Make GdkWindowImpl a class, not an interface
Benjamin Otte [Mon, 22 Nov 2010 19:42:00 +0000 (20:42 +0100)]
gdk: Make GdkWindowImpl a class, not an interface

It's a subclass of GdkDrawable and the baseclass for GdkWindowImplX11
etc now.

13 years agogdk: Remove unused medialib code
Benjamin Otte [Mon, 22 Nov 2010 17:24:24 +0000 (18:24 +0100)]
gdk: Remove unused medialib code

13 years agoAPI: Remove gdkdrawable.h from public headers
Benjamin Otte [Mon, 22 Nov 2010 17:08:25 +0000 (18:08 +0100)]
API: Remove gdkdrawable.h from public headers

It continues to exist as a private header.

13 years agotextbuffer: Remove check for GdkDrawable
Benjamin Otte [Mon, 22 Nov 2010 16:56:34 +0000 (17:56 +0100)]
textbuffer: Remove check for GdkDrawable

This should only have been used for stipple patterns, and those are gone
now.

13 years agoAPI: Decouple GdkWindow from GdkDrawable
Benjamin Otte [Mon, 22 Nov 2010 16:50:06 +0000 (17:50 +0100)]
API: Decouple GdkWindow from GdkDrawable

Make GdkWindow no longer typedeffed to GdkDrawable, but instead make it
be its own (private) type.

13 years agogdk: Use GdkDrawable for impl pointers
Benjamin Otte [Mon, 22 Nov 2010 16:49:41 +0000 (17:49 +0100)]
gdk: Use GdkDrawable for impl pointers

... instead of GdkWindow

13 years agogtk: Avoid GdkDrawable usage, including needless casts
Benjamin Otte [Mon, 22 Nov 2010 16:47:56 +0000 (17:47 +0100)]
gtk: Avoid GdkDrawable usage, including needless casts

13 years agogail: Avoid needless calls to GdkDrawable
Benjamin Otte [Mon, 22 Nov 2010 16:47:05 +0000 (17:47 +0100)]
gail: Avoid needless calls to GdkDrawable

13 years agogdk: Pass Drawable as argument
Benjamin Otte [Mon, 22 Nov 2010 16:27:46 +0000 (17:27 +0100)]
gdk: Pass Drawable as argument

We're not passing a GdKWindow here, but the implementation.

13 years agogdk: Make _gdk_window_ref_cairo_surface() protected and use it
Benjamin Otte [Mon, 22 Nov 2010 16:23:31 +0000 (17:23 +0100)]
gdk: Make _gdk_window_ref_cairo_surface() protected and use it

... instead of _gdk_drawable_ref_cairo_surface() where appropriate.
Also, don't implement the drawable->create_cairo_surface vfunc anymore.

This is in preparation for the split of GdkWindow from GdkDrawable.