]>
Pileus Git - ~andy/gtk/log
Richard Hughes [Fri, 1 Oct 2010 11:36:16 +0000 (12:36 +0100)]
Complete the removal of examples/pixmap to fix make dist
Jonh Wendell [Thu, 30 Sep 2010 19:56:11 +0000 (16:56 -0300)]
Initialize private structure
William Jon McCann [Thu, 30 Sep 2010 18:42:38 +0000 (14:42 -0400)]
gail: remove obsolete select and deselect signals from MenuItem
They were removed in
3bd93e5bfd968d21cbcba15b952b254c41f204f9
Benjamin Otte [Thu, 30 Sep 2010 14:25:11 +0000 (16:25 +0200)]
dnd: Fix gtk_drag_set_icon_surface() with translucent surfaces
The code for surfaces with alpha content was apparently untested and
screwed up the signs.
Benjamin Otte [Thu, 30 Sep 2010 14:24:11 +0000 (16:24 +0200)]
gdk: Fix gdk_cairo_region_create_from_surface() with device offsets
Benjamin Otte [Thu, 30 Sep 2010 13:50:52 +0000 (15:50 +0200)]
trayicon: Use gdk_cairo_get_clip_rectangle() to simplify code
Benjamin Otte [Thu, 30 Sep 2010 11:54:20 +0000 (13:54 +0200)]
docs: Add note about hot_x/y in gtk_drag_set_icon_surface()
Kristian Rietveld [Thu, 30 Sep 2010 07:01:11 +0000 (09:01 +0200)]
Fix GDK build on Quartz
Colin Walters [Wed, 29 Sep 2010 14:44:10 +0000 (10:44 -0400)]
introspection: Fix some annotation syntax
Benjamin Otte [Wed, 29 Sep 2010 12:12:22 +0000 (14:12 +0200)]
gtk: Fix remaining mentions of gtk_container_propagate_expose()
That includes the gtkcontainer.h header file.
https://bugzilla.gnome.org/show_bug.cgi?id=630800
Benjamin Otte [Wed, 29 Sep 2010 10:07:12 +0000 (12:07 +0200)]
gdk: Don't (un)set the background when destroying a window.
This previously caused the x11 code to do a XSetWindowBackgroundPixmap
call on a window that was about to be destroyed. And that's not really
useful.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
Benjamin Otte [Wed, 29 Sep 2010 10:06:19 +0000 (12:06 +0200)]
x11: Don't set ParentRealtive if the parent's visual is different
Causes a BadMatch otherwise, see code comments.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
Javier Jardón [Wed, 29 Sep 2010 04:11:13 +0000 (06:11 +0200)]
gtk-demo: remove GtkObject type
Javier Jardón [Wed, 29 Sep 2010 04:06:50 +0000 (06:06 +0200)]
examples/gtkdial/gtkdial.c: Fixing for removal of GtkObject type
Javier Jardón [Wed, 29 Sep 2010 04:01:07 +0000 (06:01 +0200)]
examples/colorsel/colorsel.c: remove unneded GTK_OBJECT cast
Javier Jardón [Wed, 29 Sep 2010 03:58:02 +0000 (05:58 +0200)]
testtext: Use gtk_widget_destroy() instead gtk_object_destroy()
Javier Jardón [Mon, 27 Sep 2010 13:10:12 +0000 (15:10 +0200)]
Remove unneded casts
As gtk_adjustment_new() returns a GtkAdjustment* now
https://bugzilla.gnome.org/show_bug.cgi?id=630731
Javier Jardón [Mon, 27 Sep 2010 12:48:26 +0000 (14:48 +0200)]
gtk_adjustment_new() should return a GtkAdjustment*
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=630731
Benjamin Otte [Tue, 28 Sep 2010 17:13:24 +0000 (19:13 +0200)]
API: remove gtk_window_set_visual()
gtk_widget_set_visual() exists now and can be used instead.
This reverts commit
59b227e1232998fdb854affc8dcd9dcd2a446b39 .
Benjamin Otte [Tue, 28 Sep 2010 17:11:46 +0000 (19:11 +0200)]
testgtk: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 17:11:30 +0000 (19:11 +0200)]
trayicon: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 16:56:34 +0000 (18:56 +0200)]
API: gtk: Add gtk_widget_set_visual()
It turns out that the previous handling of just providing a way to set
visuals just on toplevels was not sufficient. In particular it
complicated the various implementations of the tray icon specification.
This patch reintroduces gtk_widget_set_visual() which behaves very
similar to GTK2's gtk_widget_set_colormap().
A future commit will remove the gtk_window_set_visual() function.
Benjamin Otte [Tue, 28 Sep 2010 16:33:23 +0000 (18:33 +0200)]
widget: Fix compile warnings: missing return value
Benjamin Otte [Tue, 28 Sep 2010 16:26:31 +0000 (18:26 +0200)]
gail: Fix tests compilation - too many casts
Benjamin Otte [Tue, 28 Sep 2010 16:26:23 +0000 (18:26 +0200)]
toolbar: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:26:05 +0000 (18:26 +0200)]
treeview: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:55 +0000 (18:24 +0200)]
offscreenwindow: Fix includes
Benjamin Otte [Tue, 28 Sep 2010 16:24:34 +0000 (18:24 +0200)]
notebook: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:14 +0000 (18:24 +0200)]
combobox: Fix compilation warnings - missing cast
Michael Natterer [Tue, 28 Sep 2010 14:03:59 +0000 (16:03 +0200)]
gdk: remove "screen" member from GdkOffscreenWindow, it has become obsolete
Also remove screen parameter from _gdk_offscreen_window_new() and get
rid of a bunch on includes in gdkoffscreenwindow.c
Tor Lillqvist [Tue, 28 Sep 2010 13:22:44 +0000 (16:22 +0300)]
Create directory before installing files there
Claudio Saavedra [Mon, 27 Sep 2010 09:22:03 +0000 (12:22 +0300)]
Fix maintainer-clean
gtkimcontextsimpleseqs.h is not really autogenerated but shipped
https://bugzilla.gnome.org/show_bug.cgi?id=630708
Matthias Clasen [Tue, 28 Sep 2010 00:59:08 +0000 (20:59 -0400)]
Improve some docs
Sílvia Miranda [Mon, 27 Sep 2010 22:04:12 +0000 (00:04 +0200)]
Updated Catalan translation
Gil Forcada [Mon, 27 Sep 2010 22:03:28 +0000 (00:03 +0200)]
Removed invalid entry
Benjamin Otte [Mon, 27 Sep 2010 18:49:39 +0000 (20:49 +0200)]
label: Fix rendering of rotated labels
gtk_paint_layout is utterly broken. Someone needs to fix it so we use
the cairo_t's matrix and don't juggle with both Pango and cairo matrices
everywhere.
Benjamin Otte [Mon, 27 Sep 2010 18:49:06 +0000 (20:49 +0200)]
gtk-demo: Clean up toolpalette drawing code
Fix compile warning and use cairo_paint() instead of querying the widget
size and cairo_fill()ing it.
Benjamin Otte [Mon, 27 Sep 2010 18:48:43 +0000 (20:48 +0200)]
cups: Fix compile warnings with --enable-debug
Benjamin Otte [Mon, 27 Sep 2010 15:33:39 +0000 (17:33 +0200)]
x11: Fix debug code
With recent changes, nobody compiled with debug enabled. Fix that.
Tristan Van Berkom [Mon, 27 Sep 2010 12:15:16 +0000 (21:15 +0900)]
Fix erroneous usage of height-for-width apis in gtk_widget_real_adjust_size_allocation().
When fitting a widget into its allocation, the second dimension
is always dependent on the first, so gtk_widget_get_preferred_size()
cannot be used directly (because we want the natural height for
the allocated width, not the natural height for the natural width,
which is generally a smaller height than the height-for-minimum-width
or height-for-allocated-width).
Added test to testadjustsize to ensure proper behaviour.
Tristan Van Berkom [Mon, 27 Sep 2010 06:11:27 +0000 (15:11 +0900)]
Fixing documentation of gtk_widget_get_request_mode()
Tristan Van Berkom [Mon, 27 Sep 2010 06:10:50 +0000 (15:10 +0900)]
Fixing demos/ directory to build for removal of GtkObject type.
Tristan Van Berkom [Mon, 27 Sep 2010 06:10:23 +0000 (15:10 +0900)]
Fixing tests/ build for removal of GtkObject type.
Tristan Van Berkom [Mon, 27 Sep 2010 06:09:51 +0000 (15:09 +0900)]
Fixing gail build for removal of GtkObject type.
Matthias Clasen [Mon, 27 Sep 2010 02:29:33 +0000 (22:29 -0400)]
Add a migration guide section on GtkObject
Matthias Clasen [Mon, 27 Sep 2010 02:11:13 +0000 (22:11 -0400)]
Remove GtkObject from the docs
Matthias Clasen [Sat, 18 Sep 2010 23:58:14 +0000 (19:58 -0400)]
Remove GtkWidgetFlags
Matthias Clasen [Sat, 18 Sep 2010 23:57:32 +0000 (19:57 -0400)]
Remove GtkObject completely
Javier Jardón [Sat, 18 Sep 2010 23:55:42 +0000 (19:55 -0400)]
Move destroy signal to GtkWidget
Also make GtkWidget derive from GInitiallyUnowned
Javier Jardón [Sat, 18 Sep 2010 23:54:31 +0000 (19:54 -0400)]
Move classes that currently derive from GtkObject to GInitiallyUnowned
Javier Jardón [Mon, 27 Sep 2010 01:49:49 +0000 (03:49 +0200)]
Move documentation to inline comments: GtkPaperSize
Tadej Borovšak [Mon, 27 Sep 2010 01:03:09 +0000 (03:03 +0200)]
Update and expand GtkAccelMap API docs
Javier Jardón [Mon, 27 Sep 2010 00:55:31 +0000 (02:55 +0200)]
Move documentation to inline comments: GtkAccelMap
Matthias Clasen [Mon, 27 Sep 2010 00:42:07 +0000 (20:42 -0400)]
Add a missing end tag
Benjamin Otte [Sun, 26 Sep 2010 22:45:52 +0000 (00:45 +0200)]
tests: Port testadjustsize to draw vfunc
Javier Jardón [Sun, 26 Sep 2010 22:06:00 +0000 (00:06 +0200)]
gtk-demo: Use draw signal in toolpalette demo
Damyan Ivanov [Sun, 26 Sep 2010 19:34:23 +0000 (22:34 +0300)]
Updated Bulgarian translation
Benjamin Otte [Sun, 26 Sep 2010 15:50:03 +0000 (17:50 +0200)]
image: Fix up draw function
The previous port to the draw function was a tiny bit incomplete. This
patch should fix the remaining issues and remove unused variables.
Matthias Clasen [Sat, 25 Sep 2010 00:02:01 +0000 (20:02 -0400)]
Migration guide: Add an example for colormap -> visual
Matthias Clasen [Fri, 24 Sep 2010 22:59:24 +0000 (18:59 -0400)]
Expand the migration guide
This commit add some text about mult-window ::draw implementations,
pointing out the gtk_cairo_should_draw_window() and
gtk_cairo_transform_to_window() convenience functions.
Benjamin Otte [Sat, 25 Sep 2010 22:55:48 +0000 (00:55 +0200)]
accellabel: Remove gtk_widget_is_drawable() check from draw vfunc
Benjamin Otte [Thu, 23 Sep 2010 09:54:54 +0000 (11:54 +0200)]
treeview: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:54:44 +0000 (11:54 +0200)]
spinbutton: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:54:34 +0000 (11:54 +0200)]
notebook: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:54:27 +0000 (11:54 +0200)]
menu: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:54:16 +0000 (11:54 +0200)]
iconview: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:54:06 +0000 (11:54 +0200)]
entry: Use gtk_cairo_transform_to_window()
Benjamin Otte [Thu, 23 Sep 2010 09:53:54 +0000 (11:53 +0200)]
calendar: Use gtk_cairo_transform_to_window()
Benjamin Otte [Wed, 22 Sep 2010 14:11:58 +0000 (16:11 +0200)]
textview: Use gtk_cairo_transform_to_window()
Benjamin Otte [Wed, 22 Sep 2010 14:10:45 +0000 (16:10 +0200)]
API: Add gtk_cairo_transform_to_window()
The function reverses the transform that GTK does before emitting a draw
event. So we can use it in "old" widgets to revert the coordinate system
properly.
Benjamin Otte [Tue, 21 Sep 2010 14:52:59 +0000 (16:52 +0200)]
cellrenderer: Merge GtkCellSizeRequest into GtkCellRenderer
This mostly goes to keep consistency with the changes to GtkSizeRequest
in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and
GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping
them separate.
This patch renames the functions:
gtk_cell_size_request_get_request_mode()
=> gtk_cell_renderer_get_request_mode()
gtk_cell_size_request_get_width()
=> gtk_cell_renderer_get_preferred_width()
gtk_cell_size_request_get_height()
=> gtk_cell_renderer_get_preferred_height()
gtk_cell_size_request_get_size()
=> gtk_cell_renderer_get_preferred_size()
gtk_cell_size_request_get_width_for_height()
=> gtk_cell_renderer_get_preferred_width_for_height()
gtk_cell_size_request_get_height_for_width()
=> gtk_cell_renderer_get_preferred_height_for_width()
... and moves the corresponding vfuncs to GtkCellRenderer.
The patch also renames the implementations of these functions in cell
renderers to include the word "preferrred".
Benjamin Otte [Tue, 21 Sep 2010 14:35:17 +0000 (16:35 +0200)]
Move GtkSizeRequest into GtkWidget
It doesn't make sense to keep them separate as GtkSizeRequest requires a
GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
one without the other.
It also makes the code a lot easier because no casts are required when
calling functions.
Also, the names would translate to gtk_widget_get_width() and people
agreed that this would be a too generic name, so a "preferred" was added
to the names.
So this patch moves the functions:
gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
gtk_size_request_get_width() => gtk_widget_get_preferred_width()
gtk_size_request_get_height() => gtk_widget_get_preferred_height()
gtk_size_request_get_size() => gtk_widget_get_preferred_size()
gtk_size_request_get_width_for_height() =>
gtk_widget_get_preferred_width_for_height()
gtk_size_request_get_height_for_width() =>
gtk_widget_get_preferred_height_for_width()
... and moves the corresponding vfuncs to the GtkWidgetClass.
The patch also renames the implementations of the vfuncs in widgets to
include the word "preferrred".
Benjamin Otte [Mon, 20 Sep 2010 15:30:54 +0000 (17:30 +0200)]
API: remove gdk_drawable_get_size()
Benjamin Otte [Mon, 20 Sep 2010 15:16:13 +0000 (17:16 +0200)]
gdk: Remove default implementations for get_*_region
This should only be used on windows anyway and GdkWindow has an
implementation for both functions.
Benjamin Otte [Mon, 20 Sep 2010 14:55:33 +0000 (16:55 +0200)]
docs: Get rid of gdk_drawable_get_size() usage in shooter example
Benjamin Otte [Mon, 20 Sep 2010 14:49:27 +0000 (16:49 +0200)]
tests: Get rid of gdk_drawable_get_size() usage in testwindows
Benjamin Otte [Mon, 20 Sep 2010 14:49:11 +0000 (16:49 +0200)]
tests: Get rid of gdk_drawable_get_size() usage in offscreenbox
Benjamin Otte [Mon, 20 Sep 2010 14:47:06 +0000 (16:47 +0200)]
testgtk: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:46:48 +0000 (16:46 +0200)]
dnd-quartz: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:57 +0000 (16:44 +0200)]
window: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:47 +0000 (16:44 +0200)]
widget: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:38 +0000 (16:44 +0200)]
viewport: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:30 +0000 (16:44 +0200)]
treeview: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:19 +0000 (16:44 +0200)]
textview: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:44:06 +0000 (16:44 +0200)]
testutils: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:40:04 +0000 (16:40 +0200)]
spinbutton: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:54 +0000 (16:39 +0200)]
plug: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:41 +0000 (16:39 +0200)]
offscreenwindow: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:32 +0000 (16:39 +0200)]
notebook: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:25 +0000 (16:39 +0200)]
menu: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:14 +0000 (16:39 +0200)]
iconview: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:39:05 +0000 (16:39 +0200)]
handlebox: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:38:53 +0000 (16:38 +0200)]
entry: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:38:38 +0000 (16:38 +0200)]
calendar: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 14:36:25 +0000 (16:36 +0200)]
msw-engine: Remove sanitize_size code
It's not needed with the new APIs
Benjamin Otte [Mon, 20 Sep 2010 10:54:07 +0000 (12:54 +0200)]
gtk-demo: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 10:53:46 +0000 (12:53 +0200)]
gdk: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 10:53:32 +0000 (12:53 +0200)]
win32: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 10:53:06 +0000 (12:53 +0200)]
quartz: Get rid of gdk_drawable_get_size() usage
Benjamin Otte [Mon, 20 Sep 2010 10:52:26 +0000 (12:52 +0200)]
x11: Get rid of gdk_drawable_get_size() usage