]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoAdd resize grips to GtkWindow
Matthias Clasen [Fri, 8 Oct 2010 05:43:03 +0000 (01:43 -0400)]
Add resize grips to GtkWindow

Allow any window to display a resize grip, in the south-east or
south-west corner, depending on text direction. This is implemented
as a shaped window that gets overlayed on top of whatever content
is there. We add api that allows widgets to avoid the resize grip,
if desired.

The ::has-resize-grip property controls if a window may display
a resize grip. It will only be displayed if the window is resizable
and not maximized.

The size and visual appearance of the resize grip is under theme
control, using the resize-grip-width/height style properties and
the paint_resize_grip style function.

13 years agoFix export of a few (currently unused) configure variables
Matthias Clasen [Thu, 7 Oct 2010 11:47:58 +0000 (07:47 -0400)]
Fix export of a few (currently unused) configure variables

Turns out that autoconf eats all the m4_define magic before
AC_INIT.

13 years agogail: don't try to get stock id from images that aren't stock
William Jon McCann [Thu, 7 Oct 2010 06:48:20 +0000 (02:48 -0400)]
gail: don't try to get stock id from images that aren't stock

Fixes assertion caused by 41d2a4d059d881d8d05419013ae4946a81b308cb

13 years agoGail needs _gtk_cell_renderer_calc_offset
Tor Lillqvist [Wed, 6 Oct 2010 22:27:06 +0000 (01:27 +0300)]
Gail needs _gtk_cell_renderer_calc_offset

13 years agoBypass the ms-windows engine for now
Tor Lillqvist [Wed, 6 Oct 2010 22:15:56 +0000 (01:15 +0300)]
Bypass the ms-windows engine for now

It requires massive changes to build again. I started, but gave
up. More insight is needed.

13 years agoMake it compile again for Windows
Tor Lillqvist [Wed, 6 Oct 2010 22:14:46 +0000 (01:14 +0300)]
Make it compile again for Windows

13 years agoRemove reference to hooks in gtk_about_dialog_set_website() docs.
Stef Walter [Wed, 6 Oct 2010 20:13:40 +0000 (20:13 +0000)]
Remove reference to hooks in gtk_about_dialog_set_website() docs.

Signed-off-by: Javier Jardón <jjardon@gnome.org>
13 years agoFilechooser - In OPEN or SAVE mode, typing a plain folder name should switch to it
Federico Mena Quintero [Wed, 6 Oct 2010 17:59:44 +0000 (12:59 -0500)]
Filechooser - In OPEN or SAVE mode, typing a plain folder name should switch to it

If you type 'subfolder/' and hit Enter, the file chooser will switch you to
it.  But if you type just 'subfolder' without the trailing slash, apps would
receive *that* filename (e.g. file:///foo/bar/subfolder) as the response, and
they would likely print an error that they can't open that file (as it is
a folder).  So, we change the file chooser's current folder to that subfolder
in this case.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agowidget: Fix GtkWidget::draw docs
Benjamin Otte [Wed, 6 Oct 2010 10:52:39 +0000 (12:52 +0200)]
widget: Fix GtkWidget::draw docs

width and height have been gone for a while...

13 years agoEnhanced documentation description for GtkWrapBox (text by Murray Cumming).
Tristan Van Berkom [Wed, 6 Oct 2010 08:00:43 +0000 (17:00 +0900)]
Enhanced documentation description for GtkWrapBox (text by Murray Cumming).

13 years agoUpdates for Kazakh translation
Baurzhan Muftakhidinov [Wed, 6 Oct 2010 04:36:18 +0000 (10:36 +0600)]
Updates for Kazakh translation

13 years agoReplace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents
John Ralls [Tue, 5 Oct 2010 23:18:25 +0000 (01:18 +0200)]
Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475

Signed-off-by: Javier Jardón <jjardon@gnome.org>
13 years agodocs: visuals: Do not mention deprecated GdkRGB API's
Javier Jardón [Tue, 5 Oct 2010 23:09:23 +0000 (01:09 +0200)]
docs: visuals: Do not mention deprecated GdkRGB API's

Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473

13 years agodocs: Dn't mark all signals in GtkWidgetClass as private
Benjamin Otte [Tue, 5 Oct 2010 21:25:53 +0000 (23:25 +0200)]
docs: Dn't mark all signals in GtkWidgetClass as private

They are meant to be overwritten by subclasses after all.

13 years agoviewport: Clip contents properly when called via gtk_widget_draw()
Benjamin Otte [Tue, 5 Oct 2010 21:22:25 +0000 (23:22 +0200)]
viewport: Clip contents properly when called via gtk_widget_draw()

13 years agoRevert "testgtk: Remove snapshot test"
Benjamin Otte [Tue, 5 Oct 2010 20:36:35 +0000 (22:36 +0200)]
Revert "testgtk: Remove snapshot test"

This reverts commit 99c82af20a5204940ce2cb0f841be0d6f70a2778 and fixes
up things to compile again. Of course, the snapshotting now uses
gtk_widget_draw() instead.

13 years agodocs: reword GtkAdjustment short description
Javier Jardón [Tue, 5 Oct 2010 20:52:31 +0000 (22:52 +0200)]
docs: reword GtkAdjustment short description

13 years agoHandle the case where you type /blah/nonexistent in SELECT_FOLDER mode
Federico Mena Quintero [Tue, 5 Oct 2010 19:41:51 +0000 (14:41 -0500)]
Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode

Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER.
Now we just make that function act the same as for CREATE_FOLDER mode.  In either
case, if you type "/blah/nonexistent" and hit Enter, you want a folder
with that name to be created (under the already-existing /blah).

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoClarify the name of a callback
Stephen Shaw [Tue, 5 Oct 2010 17:59:45 +0000 (12:59 -0500)]
Clarify the name of a callback

The old save_entry_get_info_cb() was misnamed; it is actually used
to see if a file's presumed parent *is* a folder.  So we rename
it to name_entry_get_parent_info_cb().

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agobgo#629722 - file chooser should cope with typing a directory name and then Enter
Stephen Shaw [Tue, 5 Oct 2010 17:55:03 +0000 (12:55 -0500)]
bgo#629722 - file chooser should cope with typing a directory name and then Enter

file_exists_get_info_cb() used to let some actions fall through to
the code that checks for the file type of the selected file's parent
(e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz).
However, we need to be more explicit for each file chooser action, as
in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not
give you an immediate selection, but rather the file chooser would
complain that it couldn't create that directory as it already exists.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoAdded Kikongo translation
Kibavuidi Nsiangani [Tue, 5 Oct 2010 19:52:42 +0000 (21:52 +0200)]
Added Kikongo translation

13 years agoMake set_cairo_surface_size a vfunc on GdkWindowImpl
Kristian Rietveld [Tue, 5 Oct 2010 13:21:40 +0000 (15:21 +0200)]
Make set_cairo_surface_size a vfunc on GdkWindowImpl

Note the special implementation of this method on GdkOffscreenWindow
that makes sure its current surface is not destroyed.

13 years agotests: don't call gtk_widget_get_allocation() on NULL children
Michael Natterer [Tue, 5 Oct 2010 11:05:56 +0000 (13:05 +0200)]
tests: don't call gtk_widget_get_allocation() on NULL children

13 years agogtkmenu: Really fix menu code
Javier Jardón [Mon, 4 Oct 2010 16:48:47 +0000 (18:48 +0200)]
gtkmenu: Really fix menu code

Previous patch f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2
is not correct as it try to fix a bug introduced in commit
3a10216dd01c8d10df235b88c8942b2fda15689b

13 years agoFix a crash in menu code
Christian Persch [Mon, 4 Oct 2010 14:36:43 +0000 (10:36 -0400)]
Fix a crash in menu code

https://bugzilla.gnome.org/show_bug.cgi?id=631311

13 years agoMake GdkRectangle arguments in GtkCellRenderer use const consistently
Matthias Clasen [Mon, 4 Oct 2010 14:22:09 +0000 (10:22 -0400)]
Make GdkRectangle arguments in GtkCellRenderer use const consistently

https://bugzilla.gnome.org/show_bug.cgi?id=630900

13 years agoquartz: Emulate root window as 1x1 bitmap
Kristian Rietveld [Mon, 4 Oct 2010 09:43:16 +0000 (11:43 +0200)]
quartz: Emulate root window as 1x1 bitmap

We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz,
and override the get_context method in order to do this cleanly.
Also made release_context a virtual method, since the root window has
to release its CGContextRef differently compared to normal windows.

13 years agodocs: Move documentation to inline comments: colors
Javier Jardón [Mon, 4 Oct 2010 01:47:40 +0000 (03:47 +0200)]
docs: Move documentation to inline comments: colors

13 years agodocs: Move documentation to inline comments: pixbufs
Javier Jardón [Mon, 4 Oct 2010 01:35:42 +0000 (03:35 +0200)]
docs: Move documentation to inline comments: pixbufs

13 years agodocs: Move documentation to inline comments: regions
Javier Jardón [Mon, 4 Oct 2010 01:19:43 +0000 (03:19 +0200)]
docs: Move documentation to inline comments: regions

13 years agodocs: Move documentation to inline comments: cairo_interaction
Javier Jardón [Mon, 4 Oct 2010 01:04:09 +0000 (03:04 +0200)]
docs: Move documentation to inline comments: cairo_interaction

13 years agodocs: Move documentation to inline comments: GtkComboBox
Javier Jardón [Mon, 4 Oct 2010 00:05:45 +0000 (02:05 +0200)]
docs: Move documentation to inline comments: GtkComboBox

13 years agoAdd missing vfuncs to gtknotebook.
Ignacio Casal Quinteiro [Sun, 3 Oct 2010 16:17:17 +0000 (18:17 +0200)]
Add missing vfuncs to gtknotebook.

13 years agodocs: Move documentation to inline comments: GtkNotebook
Javier Jardón [Sun, 3 Oct 2010 17:50:11 +0000 (19:50 +0200)]
docs: Move documentation to inline comments: GtkNotebook

13 years agoUpdated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com> and Rimas Kudel...
Žygimantas Beručka [Sun, 3 Oct 2010 13:21:32 +0000 (15:21 +0200)]
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com> and Rimas Kudelis <rq@akl.lt>

13 years agoUpdated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com>
Žygimantas Beručka [Sun, 3 Oct 2010 13:15:53 +0000 (15:15 +0200)]
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com>

13 years agotextview: Fix clip usage
José Aliste [Sun, 3 Oct 2010 10:14:48 +0000 (12:14 +0200)]
textview: Fix clip usage

The previous code used cairo_clip_extents() and interpreted its
parameters wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=631203

13 years agodocs: Latest 2.x release will be 2.24, not 2.22
Javier Jardón [Sun, 3 Oct 2010 02:59:23 +0000 (04:59 +0200)]
docs: Latest 2.x release will be 2.24, not 2.22

13 years agodocs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size()
Javier Jardón [Sun, 3 Oct 2010 01:41:44 +0000 (03:41 +0200)]
docs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size()

GtkSizeRequest interface is now merged in GtkWidget

13 years agodocs: Move documentation to inline comments: GtkEntryBuffer
Garrett Regier [Sat, 2 Oct 2010 23:19:55 +0000 (01:19 +0200)]
docs: Move documentation to inline comments: GtkEntryBuffer

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617320

Signed-off-by: Javier Jardón <jjardon@gnome.org>
13 years agodocs: Move documentation to inline comments: GtkTooltip
Javier Jardón [Sat, 2 Oct 2010 22:58:38 +0000 (00:58 +0200)]
docs: Move documentation to inline comments: GtkTooltip

13 years agodocs: Move documentation to inline comments: GtkToolbar
Javier Jardón [Sat, 2 Oct 2010 22:28:54 +0000 (00:28 +0200)]
docs: Move documentation to inline comments: GtkToolbar

13 years agodocs: Move documentation to inline comments: GtkComboBoxEntry
Garrett Regier [Sat, 2 Oct 2010 19:17:48 +0000 (21:17 +0200)]
docs: Move documentation to inline comments: GtkComboBoxEntry

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617308

Signed-off-by: Javier Jardón <jjardon@gnome.org>
13 years agogail: use a weak pointer instead of an invalid destroy signal
William Jon McCann [Sat, 2 Oct 2010 19:45:46 +0000 (15:45 -0400)]
gail: use a weak pointer instead of an invalid destroy signal

13 years agoBump version to 2.91.1
Matthias Clasen [Sat, 2 Oct 2010 03:29:00 +0000 (23:29 -0400)]
Bump version to 2.91.1

13 years agoFix a reference in the gdk_pixbuf_get_from_surface docs
Matthias Clasen [Sat, 2 Oct 2010 01:43:23 +0000 (21:43 -0400)]
Fix a reference in the gdk_pixbuf_get_from_surface docs

13 years agoMore distcheck fixes
Matthias Clasen [Sat, 2 Oct 2010 01:36:16 +0000 (21:36 -0400)]
More distcheck fixes

13 years agogail: Fix menu emission hooks
Benjamin Otte [Sat, 2 Oct 2010 01:34:42 +0000 (03:34 +0200)]
gail: Fix menu emission hooks

Ref the GtkmenuItem class, so we can add emission hooks. And actually
add the emission hooks again that were removed in
7c140feb6b18c6e158b83356370a85864758c4f9.

13 years agogdk: Make gdk_pixbuf_get_from_*() bindable
Benjamin Otte [Sat, 2 Oct 2010 00:47:55 +0000 (02:47 +0200)]
gdk: Make gdk_pixbuf_get_from_*() bindable

The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.

Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.

13 years agoFix distcheck
Matthias Clasen [Sat, 2 Oct 2010 00:02:35 +0000 (20:02 -0400)]
Fix distcheck

Don't include config.h in headers, it doesn't work.

13 years agoFix make dist
Matthias Clasen [Fri, 1 Oct 2010 22:46:09 +0000 (18:46 -0400)]
Fix make dist

13 years agoUpdate NEWS for 2.91.0
Matthias Clasen [Fri, 1 Oct 2010 22:27:53 +0000 (18:27 -0400)]
Update NEWS for 2.91.0

13 years agoUpdate po files
Matthias Clasen [Fri, 1 Oct 2010 19:58:09 +0000 (15:58 -0400)]
Update po files

13 years agoDistribute autogen.sh
Colin Walters [Fri, 1 Oct 2010 21:29:20 +0000 (17:29 -0400)]
Distribute autogen.sh

This makes it easier for OS vendors to always invoke autogen.sh
for building, regardless of building from legacy tarballs or
git snapshots.

13 years agoSet version to 2.91.0
Matthias Clasen [Fri, 1 Oct 2010 18:57:25 +0000 (14:57 -0400)]
Set version to 2.91.0

Having an odd minor helps some tools which assume 'even minor == stable'
and 2.91 will keep us in sync with the wider GNOME versioning.

13 years agoMigration guide: Add an example for creating custom cursors
Matthias Clasen [Fri, 1 Oct 2010 18:54:11 +0000 (14:54 -0400)]
Migration guide: Add an example for creating custom cursors

13 years agoRevert an erroneous change
Matthias Clasen [Fri, 1 Oct 2010 17:46:39 +0000 (13:46 -0400)]
Revert an erroneous change

13 years agoGTK docs: Update width-for-height docs
Matthias Clasen [Fri, 1 Oct 2010 17:10:35 +0000 (13:10 -0400)]
GTK docs: Update width-for-height docs

Some places did not get updated after the recent rename-and-GtkWidget-merge.

13 years agoGTK docs: various fixups
Matthias Clasen [Fri, 1 Oct 2010 17:05:12 +0000 (13:05 -0400)]
GTK docs: various fixups

13 years agoDrop GdkSpan type
Matthias Clasen [Fri, 1 Oct 2010 13:39:10 +0000 (09:39 -0400)]
Drop GdkSpan type

GdkSpan is not used anywhere.

13 years agoGDK docs: Improve gdk_pixbuf_get_from_window docs
Matthias Clasen [Fri, 1 Oct 2010 13:38:36 +0000 (09:38 -0400)]
GDK docs: Improve gdk_pixbuf_get_from_window docs

13 years agoGDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse
Matthias Clasen [Fri, 1 Oct 2010 13:10:52 +0000 (09:10 -0400)]
GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse

13 years agoGDK docs: improve the gdk_x11_display_error_trap_push docs
Matthias Clasen [Fri, 1 Oct 2010 12:16:38 +0000 (08:16 -0400)]
GDK docs: improve the gdk_x11_display_error_trap_push docs

13 years agoGDK docs: Clean out some dead symbols
Matthias Clasen [Fri, 1 Oct 2010 12:09:31 +0000 (08:09 -0400)]
GDK docs: Clean out some dead symbols

13 years agoGdkVisual: tell gtk-doc to ignore the innards
Matthias Clasen [Fri, 1 Oct 2010 11:37:26 +0000 (07:37 -0400)]
GdkVisual: tell gtk-doc to ignore the innards

13 years agoUpdate for recent api changes
Matthias Clasen [Fri, 1 Oct 2010 02:58:50 +0000 (22:58 -0400)]
Update for recent api changes

13 years agoRemove colormap api from gdk.symbols
Matthias Clasen [Fri, 1 Oct 2010 02:49:57 +0000 (22:49 -0400)]
Remove colormap api from gdk.symbols

13 years agoComplete the removal of GtkObject to fix make dist
Richard Hughes [Fri, 1 Oct 2010 11:36:57 +0000 (12:36 +0100)]
Complete the removal of GtkObject to fix make dist

13 years agoComplete the removal of examples/pixmap to fix make dist
Richard Hughes [Fri, 1 Oct 2010 11:36:16 +0000 (12:36 +0100)]
Complete the removal of examples/pixmap to fix make dist

13 years agoInitialize private structure
Jonh Wendell [Thu, 30 Sep 2010 19:56:11 +0000 (16:56 -0300)]
Initialize private structure

13 years agogail: remove obsolete select and deselect signals from MenuItem
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

13 years agodnd: Fix gtk_drag_set_icon_surface() with translucent surfaces
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.

13 years agogdk: Fix gdk_cairo_region_create_from_surface() with device offsets
Benjamin Otte [Thu, 30 Sep 2010 14:24:11 +0000 (16:24 +0200)]
gdk: Fix gdk_cairo_region_create_from_surface() with device offsets

13 years agotrayicon: Use gdk_cairo_get_clip_rectangle() to simplify code
Benjamin Otte [Thu, 30 Sep 2010 13:50:52 +0000 (15:50 +0200)]
trayicon: Use gdk_cairo_get_clip_rectangle() to simplify code

13 years agodocs: Add note about hot_x/y in gtk_drag_set_icon_surface()
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()

13 years agoFix GDK build on Quartz
Kristian Rietveld [Thu, 30 Sep 2010 07:01:11 +0000 (09:01 +0200)]
Fix GDK build on Quartz

13 years agointrospection: Fix some annotation syntax
Colin Walters [Wed, 29 Sep 2010 14:44:10 +0000 (10:44 -0400)]
introspection: Fix some annotation syntax

13 years agogtk: Fix remaining mentions of gtk_container_propagate_expose()
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

13 years agogdk: Don't (un)set the background when destroying a window.
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

13 years agox11: Don't set ParentRealtive if the parent's visual is different
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

13 years agogtk-demo: remove GtkObject type
Javier Jardón [Wed, 29 Sep 2010 04:11:13 +0000 (06:11 +0200)]
gtk-demo: remove GtkObject type

13 years agoexamples/gtkdial/gtkdial.c: Fixing for removal of 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

13 years agoexamples/colorsel/colorsel.c: remove unneded GTK_OBJECT cast
Javier Jardón [Wed, 29 Sep 2010 04:01:07 +0000 (06:01 +0200)]
examples/colorsel/colorsel.c: remove unneded GTK_OBJECT cast

13 years agotesttext: Use gtk_widget_destroy() instead gtk_object_destroy()
Javier Jardón [Wed, 29 Sep 2010 03:58:02 +0000 (05:58 +0200)]
testtext: Use gtk_widget_destroy() instead gtk_object_destroy()

13 years agoRemove unneded casts
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

13 years agogtk_adjustment_new() should return a GtkAdjustment*
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

13 years agoAPI: remove gtk_window_set_visual()
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.

13 years agotestgtk: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 17:11:46 +0000 (19:11 +0200)]
testgtk: Use gtk_widget_set_visual()

13 years agotrayicon: Use gtk_widget_set_visual()
Benjamin Otte [Tue, 28 Sep 2010 17:11:30 +0000 (19:11 +0200)]
trayicon: Use gtk_widget_set_visual()

13 years agoAPI: gtk: Add 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.

13 years agowidget: Fix compile warnings: missing return value
Benjamin Otte [Tue, 28 Sep 2010 16:33:23 +0000 (18:33 +0200)]
widget: Fix compile warnings: missing return value

13 years agogail: Fix tests compilation - too many casts
Benjamin Otte [Tue, 28 Sep 2010 16:26:31 +0000 (18:26 +0200)]
gail: Fix tests compilation - too many casts

13 years agotoolbar: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:26:23 +0000 (18:26 +0200)]
toolbar: Fix compilation warnings - missing cast

13 years agotreeview: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:26:05 +0000 (18:26 +0200)]
treeview: Fix compilation warnings - missing cast

13 years agooffscreenwindow: Fix includes
Benjamin Otte [Tue, 28 Sep 2010 16:24:55 +0000 (18:24 +0200)]
offscreenwindow: Fix includes

13 years agonotebook: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:34 +0000 (18:24 +0200)]
notebook: Fix compilation warnings - missing cast

13 years agocombobox: Fix compilation warnings - missing cast
Benjamin Otte [Tue, 28 Sep 2010 16:24:14 +0000 (18:24 +0200)]
combobox: Fix compilation warnings - missing cast

13 years agogdk: remove "screen" member from GdkOffscreenWindow, it has become obsolete
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

13 years agoCreate directory before installing files there
Tor Lillqvist [Tue, 28 Sep 2010 13:22:44 +0000 (16:22 +0300)]
Create directory before installing files there

13 years agoFix maintainer-clean
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