Carlos Garnacho
b1dec866e5
Use the client pointer for events with no device.
...
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
2010-10-28 23:01:16 +02:00
Owen W. Taylor
398728feb5
Remove unused GdkDeviceManager variable
...
gdk_display_get_device_manager() was called but the device manager
not used.
2010-10-28 16:43:55 -04:00
Matthias Clasen
7da5cd5fe6
ifdef X-specific stuff
...
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
2010-10-28 14:27:04 -04:00
Matthias Clasen
7018c2acc7
GtkButtonBox doesn't do height-for-width
...
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
2010-10-28 14:25:50 -04:00
John (J5) Palmieri
a863697784
[introspection] annotate delete_text invoker to match do_delete_text v-method
2010-10-28 13:25:10 -04:00
Vincent Untz
4f9f52a6ea
Port tests to GtkScrollable API instead of deprecated GtkLayout API
...
https://bugzilla.gnome.org/show_bug.cgi?id=633374
2010-10-28 12:18:28 -04:00
Ignacio Casal Quinteiro
60feed7360
Remove useless vars.
2010-10-28 11:54:05 +02:00
Tristan Van Berkom
c41ec57fb0
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
2010-10-28 16:00:19 +09:00
Tristan Van Berkom
18f46adb7d
Added a runtime warning if any class is implementing the ->size_request() vfunc.
2010-10-28 15:41:00 +09:00
Tristan Van Berkom
2f3e51389e
Merge branch 'kill-size-request'
2010-10-28 15:30:32 +09:00
Tristan Van Berkom
7af16e8d91
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
2010-10-28 15:17:06 +09:00
Tristan Van Berkom
1523509467
Removed size_request from GtkToolItemGroup
...
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
2010-10-28 15:16:06 +09:00
Tristan Van Berkom
6e22c646c6
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
2010-10-28 14:56:04 +09:00
Matthias Clasen
df4c566220
Add a migration guide section on size_request
2010-10-27 15:55:33 -04:00
Matthias Clasen
48d0be545c
Fix the build
2010-10-27 13:01:21 -04:00
Matthias Clasen
a84b81d4fe
Fix gtk_fixed_get_preferred_width
...
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
2010-10-27 12:53:47 -04:00
Bastien Nocera
94c8390ad7
gtk: Fix crasher when loading symbolic icons
...
If the style didn't include symbolic colors for either success,
warning or error, gtk_icon_info_load_symbolic_for_style() would crash.
Instead, make sure we don't try to use the colors if they're not
available, and fallback on default colors inside
_gtk_icon_info_load_symbolic_internal().
2010-10-27 17:52:30 +01:00
Owen W. Taylor
cb287cde00
GtkSocket: Add error trap around call to XFixesChangeSaveSet()
...
Previously any X error from XFixesChangeSaveSet() was being eaten
by the subsequent error trap when sending a client message. With
asynchronous error traps, that side effect no longer occurs, so
we need to add a proper error trap around the call to
XFixesChangeSaveSet().
https://bugzilla.gnome.org/show_bug.cgi?id=633274
2010-10-27 12:40:59 -04:00
Tristan Van Berkom
d13bf0801d
Revert "Removed size_request from GtkTextView"
...
This reverts commit 87dfa724eb
.
I pushed this to the wrong branch, ouch sorry.
2010-10-28 01:40:51 +09:00
Matthias Clasen
e3bf39b2e6
Remove size_request from GtkSocket
...
This is only preliminary, GtkSocket can do minimal/natural width
properly, there's code for that in the extended-layout branch.
2010-10-27 11:18:47 -04:00
Matthias Clasen
f5207ab647
Don't g_free gslice-allocated structures
...
This was causing memory corruption when removing remote plugs from
sockets.
2010-10-27 11:18:46 -04:00
Matthias Clasen
fb0a72dc0f
Remove size_request from GtkScale
2010-10-27 11:18:46 -04:00
Tristan Van Berkom
a41436c40f
Removed size_request from GtkTearoffMenuItem
2010-10-27 23:59:43 +09:00
Tristan Van Berkom
c33a2b7237
Fixed remaining call to ->size_request in GtkTextView.
2010-10-27 23:34:58 +09:00
Tristan Van Berkom
1132f54dcc
Removing size_request from GtkTextView
2010-10-27 23:25:05 +09:00
Matthias Clasen
8f9807ac15
Remove size_request from GtkSeparatorToolItem
2010-10-27 10:17:58 -04:00
Matthias Clasen
cb34d4036d
Use correct icon name in testtoolbar
2010-10-27 10:14:25 -04:00
Tristan Van Berkom
87dfa724eb
Removed size_request from GtkTextView
2010-10-27 22:59:49 +09:00
Matthias Clasen
17c1bb4e52
Remove size_request from gtkToolItem
2010-10-27 09:54:44 -04:00
Tristan Van Berkom
7a85a31cc4
Removing size_request from GtkToolPalette
...
Note GtkToolPalette is internally height-for-width, it needs to
be refactored to cooperate with GTK+'s height-for-width geometry
management properly.
2010-10-27 22:51:35 +09:00
Matthias Clasen
1205f5a230
Remove size_request from GtkToolbar
...
This is just a bandaid fix, the toolbar should really return proper
min/natural sizes, so that we can handle the overflow properly.
2010-10-27 09:41:37 -04:00
Matthias Clasen
f7740fe580
Remove size_request from GtkTable
2010-10-27 09:33:41 -04:00
Tristan Van Berkom
add32bab71
Removing size_request from GtkTreeview.
...
This should be implemented as propery height-for-width by
the treeview-refactor branch. This commit includes a FIXME
comment that scroll adjustments should not be updated from
inside size requests but only after receiving an allocation.
2010-10-27 22:28:41 +09:00
Matthias Clasen
1184295620
Remove size_request from GtkRuler
2010-10-27 09:23:07 -04:00
Matthias Clasen
fc081e7847
Remove size_request from GtkPathBar
2010-10-27 09:13:26 -04:00
Matthias Clasen
7947f1933e
Remove size_request from GtkSeparator
2010-10-27 08:33:42 -04:00
Matthias Clasen
d95f8ae2e2
Remove size_request from GtkRange
2010-10-27 08:10:40 -04:00
Matthias Clasen
2b728f66a8
Fix a typo
2010-10-27 07:57:19 -04:00
Matthias Clasen
9b60d27b83
Remove size_request from GtkPaned
...
This is not the final word; GtkPaned should really implement
height-for-width, but I didn't have time to complete that now.
2010-10-27 07:55:27 -04:00
Ivar Smolin
d8051d1f94
[l10n] Updated Estonian translation
2010-10-27 11:22:06 +03:00
Tristan Van Berkom
80ac6c9701
Removed size_request from GtkOffscreenWindow
2010-10-27 14:43:30 +09:00
Tristan Van Berkom
9a80908c91
Removed size_request from GtkNotebook
2010-10-27 14:35:04 +09:00
Tristan Van Berkom
2dca7ad91d
Removed size_request from GtkMenuBar
2010-10-27 14:30:07 +09:00
Tristan Van Berkom
c8c3cf9beb
Removed size_request from GtkImageMenuItem
2010-10-27 14:12:41 +09:00
Tristan Van Berkom
814cd2c3ff
Removed size_request from GtkIconView.
2010-10-27 14:11:36 +09:00
Tristan Van Berkom
7e3e0636aa
Remove size_request from GtkHandleBox
2010-10-27 13:56:46 +09:00
Tristan Van Berkom
393bd507bb
Fixed unused variable in get_preferred_height().
2010-10-27 13:56:13 +09:00
Matthias Clasen
ac1bb229d1
Remove size_request from GtkSpinButton
2010-10-26 23:46:06 -04:00
Matthias Clasen
e45e9b187b
Remove size_request from GtkProgressBar
2010-10-26 23:30:48 -04:00
Matthias Clasen
4ca87168d4
Remove size_reuqest from GtkImage
2010-10-26 23:16:40 -04:00