]>
Pileus Git - ~andy/gtk/log
Carlos Garnacho [Thu, 4 Mar 2010 19:58:18 +0000 (20:58 +0100)]
Add GTK_STATE_LAST to mark the end of GtkState enum.
Yaron Shahrabani [Sat, 4 Dec 2010 13:28:27 +0000 (15:28 +0200)]
Updated Hebrew translation
Matthias Clasen [Sat, 4 Dec 2010 04:50:58 +0000 (23:50 -0500)]
Another attempt to fix the gdk symbol list
Matthias Clasen [Fri, 3 Dec 2010 20:41:37 +0000 (15:41 -0500)]
Update sections
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.
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.
Matthias Clasen [Fri, 3 Dec 2010 18:05:23 +0000 (13:05 -0500)]
One more forgotten symbol
Matthias Clasen [Fri, 3 Dec 2010 18:04:42 +0000 (13:04 -0500)]
Update gdk symbol list
Andrej Žnidaršič [Fri, 3 Dec 2010 17:10:08 +0000 (18:10 +0100)]
Updated Slovenian translation
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.
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.
Michael Natterer [Thu, 2 Dec 2010 22:01:12 +0000 (23:01 +0100)]
gtk: properly indent calls to gdk_threads_add_timeout()
Bastien Nocera [Thu, 2 Dec 2010 21:01:05 +0000 (21:01 +0000)]
docs: Fix building with latest GDK changes
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...
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.
Benjamin Otte [Thu, 2 Dec 2010 10:34:41 +0000 (11:34 +0100)]
label: Clarify docs for gtk_label_get_layout()
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.
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.
Benjamin Otte [Mon, 29 Nov 2010 16:51:59 +0000 (17:51 +0100)]
gtk: Fix typos in comment
Benjamin Otte [Thu, 25 Nov 2010 14:33:25 +0000 (15:33 +0100)]
gdk: Remove useless macros from gdkprivate.h
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.
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.
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?)
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).
Benjamin Otte [Wed, 24 Nov 2010 14:32:41 +0000 (15:32 +0100)]
gdk: Remove GdkDrawable
It's unused.
Benjamin Otte [Wed, 24 Nov 2010 14:31:24 +0000 (15:31 +0100)]
gdk: Remove remaining includes of gdkdrawable.h
Benjamin Otte [Wed, 24 Nov 2010 14:11:34 +0000 (15:11 +0100)]
gdk: Make GdkWindowImpl inherit from GObject
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.
Benjamin Otte [Wed, 24 Nov 2010 13:36:45 +0000 (14:36 +0100)]
gdk: Make GdkWindow->impl a GdkWindowImpl
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. ;)
Benjamin Otte [Wed, 24 Nov 2010 13:24:51 +0000 (14:24 +0100)]
docs: Remove overrides for types that don't exist anymore
Benjamin Otte [Wed, 24 Nov 2010 13:09:48 +0000 (14:09 +0100)]
tests: Remove disabled testtext example
Benjamin Otte [Wed, 24 Nov 2010 12:30:28 +0000 (13:30 +0100)]
cellrenderer: Fix docs to say cairo_t instead of GdkDrawable
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.
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.
Benjamin Otte [Tue, 23 Nov 2010 00:52:33 +0000 (01:52 +0100)]
x11: Remove unused GDK_DRAWABLE_XROOTWIN macro
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?
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.
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
Benjamin Otte [Tue, 23 Nov 2010 00:09:22 +0000 (01:09 +0100)]
x11: Remove outdated variable definition
Benjamin Otte [Tue, 23 Nov 2010 00:08:08 +0000 (01:08 +0100)]
gdk: Remove GdkDrawable->create_cairo_surface vfunc
It's unused.
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.
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.
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.
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.
Benjamin Otte [Mon, 22 Nov 2010 17:24:24 +0000 (18:24 +0100)]
gdk: Remove unused medialib code
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.
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.
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.
Benjamin Otte [Mon, 22 Nov 2010 16:49:41 +0000 (17:49 +0100)]
gdk: Use GdkDrawable for impl pointers
... instead of GdkWindow
Benjamin Otte [Mon, 22 Nov 2010 16:47:56 +0000 (17:47 +0100)]
gtk: Avoid GdkDrawable usage, including needless casts
Benjamin Otte [Mon, 22 Nov 2010 16:47:05 +0000 (17:47 +0100)]
gail: Avoid needless calls to GdkDrawable
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.
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.
Benjamin Otte [Mon, 22 Nov 2010 16:06:46 +0000 (17:06 +0100)]
API: Remove GDK_WINDOW_XWINDOW() macro
Use GDK_WINDOW_XID() instead.
THis was done using sed, so there might be issues resulting to that.
Feel free to fix.
Benjamin Otte [Thu, 7 Oct 2010 19:32:05 +0000 (21:32 +0200)]
API: gdk: Don't track outstanding surfaces
You are not allowed to track surfaces from GDK or draw outside of expose
events. So we can remove ugly hacks needed previously. See
https://bugzilla.gnome.org/show_bug.cgi?id=606009 for the introduction
of this workaround.
Benjamin Otte [Wed, 6 Oct 2010 22:17:33 +0000 (00:17 +0200)]
x11: Make wrapper member a GdkDrawable
This is in preparation for getting rid of GdkDrawable as a dependency of
GdkWindow.
Benjamin Otte [Wed, 6 Oct 2010 21:42:45 +0000 (23:42 +0200)]
API: gdk_drawable_get_visible_region => gdk_window_get_visible_region
Also get rid of the GdkDrawable vfunc.
Benjamin Otte [Wed, 6 Oct 2010 17:31:03 +0000 (19:31 +0200)]
API: gdk_drawable_get_clip_region() => gdk_window_get_clip_region()
Also remove the vfunc from GdkDrawableClass.
Benjamin Otte [Wed, 6 Oct 2010 17:12:27 +0000 (19:12 +0200)]
API: Make gdk_cairo_create() take a GdkWindow
This is not strictly an API change as GdkDrawable is typedeffed to
GdkWindow, but it changes the header, so I'm marking it as such.
gdk_cairo_create() can only be used with windows these days, so it makes
sense to pass a window. With that, we can alseo remove the
set_cairo_clip() vfunc from GdkDrawable and implement it inside
gdkwindow.c.
Benjamin Otte [Wed, 6 Oct 2010 16:44:51 +0000 (18:44 +0200)]
API: Remove gdk_cairo_reset_clip()
You should not ever ever ever call cairo_reset_clip(). If you do, your
code is broken and you deserve everything you get.
And we should definitely not support this insanity.
Benjamin Otte [Wed, 6 Oct 2010 02:30:24 +0000 (04:30 +0200)]
win32: Remove some unused defines
Benjamin Otte [Wed, 6 Oct 2010 02:08:20 +0000 (04:08 +0200)]
x11: Remove GdkDrawableImplX11
It's not use anymore, the whole functionality has been moved to
GdkWindowImplX11.
Benjamin Otte [Wed, 6 Oct 2010 02:03:23 +0000 (04:03 +0200)]
x11: _gdk_x11_drawable_update_size() => _gdk_x11_window_update_size()
Benjamin Otte [Wed, 6 Oct 2010 01:49:04 +0000 (03:49 +0200)]
x11: Move cairo_surface and wrapper members to GdkWindowImplX11 struct
Benjamin Otte [Wed, 6 Oct 2010 00:15:51 +0000 (02:15 +0200)]
x11: Move xid member from GdkDrawableImplX11 to GdkWindowImplX11
Benjamin Otte [Wed, 6 Oct 2010 00:14:59 +0000 (02:14 +0200)]
x11: Use GDK_WINDOW_XID() instead of writing it out
Benjamin Otte [Wed, 6 Oct 2010 00:01:51 +0000 (02:01 +0200)]
x11: Remove screen member from GdkDrawableImplX11
Benjamin Otte [Wed, 6 Oct 2010 00:00:16 +0000 (02:00 +0200)]
x11: Get display from window, not from impl-drawable's screen
Benjamin Otte [Tue, 5 Oct 2010 23:59:21 +0000 (01:59 +0200)]
x11: Get display from window, not from impl-drawable's screen
Benjamin Otte [Tue, 5 Oct 2010 23:54:00 +0000 (01:54 +0200)]
x11: Change GDK_WINDOW_SCREEN macro
on't look at GdkDrawableImplX11->screen, but call
gdk_window_get_screen() instead.
Benjamin Otte [Tue, 5 Oct 2010 23:24:59 +0000 (01:24 +0200)]
API: x11: Remove GDK_DRAWABLE_XID and GDK_DRAWABLE_XDISPLAY
Window equivalents exist and drawables are on their way out.
Benjamin Otte [Tue, 5 Oct 2010 23:22:45 +0000 (01:22 +0200)]
x11: Use window macros instead of drawable macros
GDK_WINDOW_XID() instead of GDK_DRAWABLE_XID()
GDK_WINDOW_XDISPLAY() instead of GDK_DRAWABLE_XDISPLAY()
Benjamin Otte [Tue, 5 Oct 2010 23:14:32 +0000 (01:14 +0200)]
API: Remove gdk_x11_drawable_get_xdisplay()
No need for the function. Macros exist to do the same thing.
Benjamin Otte [Tue, 5 Oct 2010 23:05:19 +0000 (01:05 +0200)]
x11: Use window macros in test code
Benjamin Otte [Tue, 5 Oct 2010 22:56:22 +0000 (00:56 +0200)]
im-xim: Use window macros instead of drawable macros
Benjamin Otte [Tue, 5 Oct 2010 22:19:36 +0000 (00:19 +0200)]
API: x11: Remove gdk_x11_window_get_drawable_impl()
It's not used anymore
Benjamin Otte [Tue, 5 Oct 2010 22:13:49 +0000 (00:13 +0200)]
API: x11: Change GDK_WINDOW_XDISPLAY() macro
Instead of lots of magic, we can go the usual way of requesting the
XDisplay of the window's display. So we do that.
Benjamin Otte [Tue, 5 Oct 2010 22:08:25 +0000 (00:08 +0200)]
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
Also moves the function implementations to gtkwindow-x11.c.
Jorge González [Thu, 2 Dec 2010 18:28:16 +0000 (19:28 +0100)]
Updated Spanish translation
Jorge González [Thu, 2 Dec 2010 18:28:12 +0000 (19:28 +0100)]
Updated Spanish translation
Bastien Nocera [Thu, 2 Dec 2010 14:52:22 +0000 (14:52 +0000)]
gtk: Centre the text under the icon in GtkIconView
No point in setting the alignment to centre if we don't center it
within the cell itself.
Matthias Clasen [Thu, 2 Dec 2010 04:32:35 +0000 (23:32 -0500)]
Avoid a warning when finalizing toolbars
Recent changes cause disposing menus to emit ::deactivate. So better
disconnect the deactivate handler first.
Cosimo Cecchi [Wed, 1 Dec 2010 19:18:12 +0000 (20:18 +0100)]
app-chooser-button: don't insert empty rows in the combobox
Cosimo Cecchi [Wed, 1 Dec 2010 15:33:34 +0000 (16:33 +0100)]
app-chooser-button: add a note in the docs
Cosimo Cecchi [Wed, 1 Dec 2010 13:29:57 +0000 (14:29 +0100)]
app-chooser: add docs and symbols coverage for new API
Cosimo Cecchi [Wed, 1 Dec 2010 11:12:03 +0000 (12:12 +0100)]
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
This allows to pre-select a custom item.
Cosimo Cecchi [Wed, 1 Dec 2010 15:29:57 +0000 (16:29 +0100)]
app-chooser-button: make sure to always get a valid iter
Even in case there are no installed applications for our content type.
Bastien Nocera [Mon, 22 Nov 2010 17:46:25 +0000 (17:46 +0000)]
gtk: Allow hiding the trough/slider in GtkScale
When setting a GtkRange's upper and lower values to the same
value, the slider will not be drawn any more.
https://bugzilla.gnome.org/show_bug.cgi?id=549720
Ivar Smolin [Wed, 1 Dec 2010 11:17:39 +0000 (13:17 +0200)]
[l10n] Updated Estonian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:49:46 +0000 (14:19 +0330)]
Updating Persian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:46:19 +0000 (14:16 +0330)]
Updating Persian translation
Emmanuele Bassi [Tue, 30 Nov 2010 21:54:48 +0000 (21:54 +0000)]
switch: Fix the attribution line
Thomas Wood pointed out that the original MxGtkLightSwitch widget upon
which I based the behaviour of GtkSwitch was not written by him; the
original authors are:
Joshua Lock
Robert Staudinger
Jussi Kukkonen
My apologies to all of them.
Matthias Clasen [Tue, 30 Nov 2010 03:08:09 +0000 (22:08 -0500)]
Update checkmenuitem docs slightly
Cosimo Cecchi [Tue, 30 Nov 2010 16:31:59 +0000 (17:31 +0100)]
Merge branch 'open-with-dialog'
Cosimo Cecchi [Tue, 30 Nov 2010 16:27:53 +0000 (17:27 +0100)]
app-chooser: other misc doc fixes
Cosimo Cecchi [Tue, 30 Nov 2010 15:30:33 +0000 (16:30 +0100)]
app-chooser: add more symbols & docs
Cosimo Cecchi [Tue, 30 Nov 2010 15:27:28 +0000 (16:27 +0100)]
Merge branch 'master' into open-with-dialog
Conflicts:
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
Guillaume Desmottes [Tue, 30 Nov 2010 14:59:49 +0000 (15:59 +0100)]
gtkspinner: don't setup the timeout twice (#636129)
Cosimo Cecchi [Tue, 30 Nov 2010 14:04:37 +0000 (15:04 +0100)]
app-chooser-button: remove leftover typedef