Benjamin Otte
e8a6bad00b
gtk: Don't set colormap anymore when creating GDK windows
...
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
2010-09-26 15:11:31 +02:00
Benjamin Otte
eda14b2d47
notebook: Fix compilation warnings
...
A quark is not a pointer.
2010-09-26 15:02:00 +02:00
Matthias Clasen
94e9a35a16
Another since tag
2010-09-24 11:31:23 -04:00
Matthias Clasen
50971f704c
Correct since tags
2010-09-24 11:29:17 -04:00
Matthias Clasen
3c19eea34b
GtkNotebook: replace group by group_name
...
Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:13:30 -04:00
Matthias Clasen
b47b1428b8
GtkNotebook: remove gtk_notebook_set_window_creation_hook
...
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:10:51 -04:00
Cody Russell
27bc88f7c2
Merge branch 'notebooks-without-mouse-scrolling'
2010-09-21 16:19:10 -05:00
Cody Russell
ad48f4d52b
Remove mouse scrolling from GtkNotebook tabs. Bug #630226 .
2010-09-21 16:18:22 -05:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
2010-09-15 03:02:58 +02:00
Javier Jardón
9e81022bf6
Use gtk_size_request_get_size() instead deprecated gtk_widget_get_child_requisition()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629177
2010-09-13 21:26:01 +02:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Javier Jardón
efaed1b8f1
gtk/gtknotebook.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
bc366cef52
gtknotebook: Do not mention deprecated API
2010-09-08 17:46:11 +02:00
Tristan Van Berkom
f2279d5e51
Fixed GtkNotebook to not consult GtkWidget->requisition directly
...
GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068 .
2010-09-02 13:50:27 +09:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
f91e5e2ac9
gtk/gtknotebook.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:03 +02:00
Philip Withnall
3eb197b51f
Bug 596125 — Property string fixes
2010-08-10 09:23:49 +01:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00
Christian Dywan
1c5ee1df12
Correct marshaller for switch-page and adjust emission from menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:21:33 +02:00
Christian Persch
1af1362a36
gtknotebook: Fix critical warnings on scroll events
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
2010-07-19 15:28:03 +02:00
Javier Jardón
63d3b197c2
Add _gtk_bin_set_widget() internal function
2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Christian Dywan
335549b46a
Move definition of GtkNotebookPage out of the header
2010-07-13 18:47:45 +02:00
Javier Jardón
33960b737d
GtkNotebook: Move public members to private structure
2010-07-13 18:16:06 +02:00
Christian Dywan
828f5cbe2e
Change GtkNotebookPage in switch-page into GtkWidget
2010-07-13 17:05:22 +02:00
Christian Dywan
04c54efe5c
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:49:53 +02:00
Javier Jardón
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
Xan Lopez
533ea97c67
Remove leftover uses/references of GtkNotebook::group-id
2010-07-02 22:38:39 +02:00
Matthias Clasen
67cd929267
Remove deprecated notebook api
2010-06-26 16:29:43 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Javier Jardón
0de8601327
Use accessor functions to access GtkLabel variables
2010-05-03 01:51:23 +02:00
Christian Dywan
2d84d88539
Remove internal GtkNotebook tab homogeneousnes and border helpers
2010-05-03 01:51:19 +02:00
Christian Dywan
c4b3b13f9d
Remove deprecated GtkNotebook functions
2010-05-03 01:39:50 +02:00
Sjoerd Simons
a957d4593e
Prevent the destruction of the menu label on page removal
...
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
2010-03-22 14:11:05 -04:00
Christian Dywan
c1a3a0fd9b
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-03-12 17:56:21 +01:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Javier Jardón
74ed719fa4
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:02:21 +01:00
Javier Jardón
1934de4b65
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:51:33 +01:00
Javier Jardón
24bafd8693
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:37:06 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
483a5a9e1a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-03-02 04:42:54 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
4232115e22
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 06:11:01 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00
Matthias Clasen
833b9b42cc
Fix a redraw problem with action widgets
...
Fixes bug 603245.
2010-01-18 17:06:48 -05:00