Javier Jardón
324ab58710
GtkFontSelectionDialog: move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
558a02c730
Use accessor funtions to access GtkFontSelectionDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
f86456ccb5
gtkfontbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
0991115ada
gtkfixed: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
58030409d8
gtkfilechooserwidget: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
9b63c322ee
gtkfilechooserdialog: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
01bdc682fd
gtkfilechooserbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
d4813408b0
gtkentrycompletion: Do not use GET_PRIV() macro all the time
...
Also, unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
a8014e6fec
gtkdialog: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
80df961edb
gtkbin: Move public members to private structure
2010-07-13 19:40:47 +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
2de1f3f88c
gtkcontainer: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
63f8313015
gtkcontainer: Add _gtk_container_get_reallocate_redraws internal accessor
...
Only used in gtkwidget
2010-07-13 19:40:46 +02:00
Javier Jardón
dfb24fd56e
gtkcontainer: Add _gtk_container_*_need_resize internal accessors
...
gtkoffscreenwindow and gtkwindow need access to need_resize var
2010-07-13 19:40:46 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
009acc263e
gtkcustompaperunixdialog: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
5fd442eda2
gtkcomboboxentry: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
56cc11a416
gtkcombobox: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ebf6ce274a
gtkcolorseldialog: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Javier Jardón
56eafbaad8
gtkcolorsel: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ad45f1ce9d
gtkcolorbutton: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
06dfffa132
gtkcheckmenuitem: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
94fd7a3502
Use accessor functions to access GtkCheckMenuItem
2010-07-13 19:40:46 +02:00
Javier Jardón
72f515a0f3
gtkcellrendererpixbuf: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
637c9f16e3
gtkcellview: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
3c90ecf27b
gtkcellrenderertoggle: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
7fdb991b99
gtkcellrenderertext: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
6736c085b3
Use accessor functions to access GtkCellRendererText
2010-07-13 19:40:45 +02:00
Javier Jardón
b71d539fd0
gtkcellrendererspinner: Remove GET_PRIV() macro
...
This macro shouldn't be used in any function, but ->priv pointer
instead.
2010-07-13 19:40:45 +02:00
Javier Jardón
c2b079ca05
gtkcellrendererspin: Use private pointer instead GET_PRIV macro
2010-07-13 19:40:45 +02:00
Javier Jardón
ee1d9df94c
gtkcellrendererprogress: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
c0b0b84c6e
gtkcellrenderercombo: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5e815bfee2
gtkcellrenderer: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
db584abef3
Use accessor functions to access GtkCellRenderer
2010-07-13 19:40:45 +02:00
Javier Jardón
932568d1ed
gtkcellrendereraccel: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
4d40f88310
gtkbuilder: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
0677bb2785
gtkbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
a46c1eba64
Use accessor functions to access GtkBox
2010-07-13 19:40:45 +02:00
Javier Jardón
abe267641a
gtkbbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
123717510f
gtkassistant: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
472753330d
gtkaccessible: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5ee19bdafe
Use accessor functions to access GtkAccesible variables
2010-07-13 19:40:45 +02:00
Javier Jardón
a6e0fb92c6
gtkaspectframe: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
3862bf3208
gtkarrow: Move public members to private structure
2010-07-13 19:40:44 +02:00
Javier Jardón
fa740ae012
gtkactiongroup: Unseal private pointer
...
Also, use ->priv instead GET_PRIV() macro all the time
2010-07-13 19:40:44 +02:00
Javier Jardón
8ad3afce95
gtkaction: unseal private pointer
2010-07-13 19:40:44 +02:00
Christian Dywan
335549b46a
Move definition of GtkNotebookPage out of the header
2010-07-13 18:47:45 +02:00
Ignacio Casal Quinteiro
dba6592601
Add annotations for GtkAccelMap
2010-07-13 18:37:41 +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
Ignacio Casal Quinteiro
d219adfa5a
Move sealed attributes to private struct.
2010-07-12 21:12:46 +02:00
Tadej Borovšak
75e75cd305
Migrate GtkActionGroup API docs
2010-07-12 19:45:32 +02:00
Javier Jardón
eaab96c066
Use GSlice for GtkRequisition
...
Also add gtk_requisition_new to avoid memory allocator confusions when
using GtkRequisitions.
Based on a Christian Persch patch.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=461618
2010-07-10 06:13:45 +02:00
Matthias Clasen
bcbb976d91
Respect GtkEntry::state-hint when drawing spinbutton features
...
As proposed in bug 589904 by Thomas Wood.
2010-07-09 22:23:25 -04:00
Matthias Clasen
813bee6f0a
Try to fix !srcdir build wrt to introspection
...
This requires a recent gobject-introspection, so bump the
dependency to 0.9.0. Should fix bug 623520
2010-07-09 21:01:40 -04: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
Javier Jardón
7cabad6b77
Use -Bsymbolic-functions, drop g*alias PLT hackery
...
This is a minimal patch-out of the galias functionality.
Based on a Glib pach by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
John (J5) Palmieri
b74ee87b17
annotation (transfer-none) fix that somehow got dropped from last patch
...
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:26:55 -04:00
John (J5) Palmieri
b5f878dec8
fix some tree model annotations
...
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:06:55 -04:00
Emmanuele Bassi
15646b6e74
docs: Document the GtkApplication::quit signal behavior
...
And add Since: annotations to the GtkApplication signals.
2010-07-08 14:12:27 +01:00
Ryan Lortie
424842e3a9
GtkApplication: use new GVariant bytestring API
2010-07-07 16:37:55 -04:00
Philip Withnall
0b51abbfdf
Add (out) annotations to GtkTreeIter parameters
2010-07-07 18:20:37 +02:00
Javier Jardón
675b05f91d
[docs] GtkCellEditable: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617392
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Javier Jardón
dd1f0c46b3
[docs] GtkCalendar: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617389
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Tadej Borovšak
2ed1bab6bf
[docs] GtkButton: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617386
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Colin Walters
c609c4e807
Fix annotation syntax for gtk_widget_class_path
2010-07-06 15:50:07 -04:00
John (J5) Palmieri
74b3875ab2
fix annotation for gtk_window_set_default_icon_list
2010-07-06 15:46:14 -04:00
Colin Walters
aff8fb2ea2
Fix annotation on gtk_tree_model_get_value
2010-07-06 15:01:56 -04:00
Jonh Wendell
9125ccb1cb
[GtkApplication] Add gtk_application_get_windows()
...
Closes #623598 .
2010-07-05 17:12:53 -03:00
Ignacio Casal Quinteiro
f50d06baea
Bind get_bounds and use out instead of out caller-allocates.
...
There is no need to use caller-allocates if the scanner already detects it.
2010-07-05 18:41:22 +02:00
Tadej Borovšak
90cd7f44f1
[docs] Minor documentation fixes.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-05 17:21:55 +02:00
Xan Lopez
533ea97c67
Remove leftover uses/references of GtkNotebook::group-id
2010-07-02 22:38:39 +02:00
Javier Jardón
1a03a65e36
Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated properties
2010-07-02 21:45:08 +02:00
Javier Jardón
1f38a7ac10
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610346
2010-07-02 21:44:56 +02:00
Florian Müllner
1e1c5e3ca1
[iconview] Fix segfault when using rubberband selection
...
When iterating over the cairo region's rectangles, do not decrement
the counter twice ...
https://bugzilla.gnome.org/show_bug.cgi?id=623389
2010-07-02 15:39:02 +02:00
William Jon McCann
85e3f22c19
Show lock warning for num lock as well as caps lock
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:46:08 -04:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Ignacio Casal Quinteiro
fa752d156b
Fix annotation.
2010-06-30 20:37:22 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Javier Jardón
34573b53f3
[GtkStyle] Remove deprecated GdkFont usage
2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
2010-06-28 23:38:03 +02:00
Javier Jardón
418d84f311
[GtkFontSel] Remove GdkFont "font" deprecated property
2010-06-28 23:38:02 +02:00
Matthias Clasen
18132ecae5
Differentiate between stepper B and C in the detail string
2010-06-28 14:45:25 -04:00
Colin Walters
905f988166
Revert "Add length to gtk_tree_path_get_indices"
...
This reverts commit eebb16eb1a
.
Was an accidental commit.
2010-06-28 14:15:10 -04:00
Colin Walters
eebb16eb1a
Add length to gtk_tree_path_get_indices
...
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
2010-06-28 13:50:36 -04:00
Benjamin Otte
42abeadbb8
Can't select file on file browser after changing sort order
...
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.
https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-28 14:19:18 +02:00
Benjamin Otte
cd266cb8de
Make declaration return a boolean when the function does that
2010-06-28 14:19:18 +02:00
Benjamin Otte
14e0cbe2d3
Get rid of navigation region in GtkMenu
...
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.
Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
2010-06-28 14:19:18 +02:00
Benjamin Otte
7ad08f19aa
Create the navigation region without flipping
...
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
2010-06-28 14:19:18 +02:00
Kristian Rietveld
7f2e4c38a9
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit e634f3fbe0
)
2010-06-27 11:00:42 +02:00
Matthias Clasen
12cdd1e33b
Use SED instead of sed
2010-06-26 23:02:08 -04:00
Matthias Clasen
48a5b4ee97
Misc documentation fixes
2010-06-26 23:00:47 -04:00
Matthias Clasen
0ef0b9c68b
Use GREP, not grep
...
As reported in bug 621927
2010-06-26 22:35:56 -04:00
Mirsal Ennaime
23a61525f6
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
2010-06-26 21:22:02 -04:00
Matthias Clasen
e73a2e5654
Add context to detail strings when drawing steppers
...
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
2010-06-26 21:04:31 -04:00
Matthias Clasen
67cd929267
Remove deprecated notebook api
2010-06-26 16:29:43 -04:00
Ignacio Casal Quinteiro
4601ad2352
Fix GtkTextBuffer annotations.
2010-06-26 20:47:42 +02:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
Tristan Van Berkom
17516dc83c
Exposed GtkTreeView's internal GtkTreeSelection for builder files
2010-06-25 12:15:49 -04:00
Colin Walters
d986066cb5
Add --add-include-path to find just-built .gir files
2010-06-25 12:14:12 -04:00
Javier Jardón
d35e4848a2
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:10:03 +02:00
Javier Jardón
71e69e4701
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:46:12 +02:00
Matthias Clasen
9bf7f99a17
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:16:09 -04:00
Matthias Clasen
f010eeb7d3
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-24 09:37:14 -04:00
Ignacio Casal Quinteiro
7e3e2bf29a
Fix annotation of gtk_text_iter_(forward/backward)_search.
2010-06-24 11:11:02 +02:00
Carlos Garnacho
882fdfab78
GtkWidget: ensure device events are set on realize.
...
https://bugzilla.gnome.org/show_bug.cgi?id=621690
2010-06-24 02:30:54 +02:00
Carlos Garnacho
9c4657fb73
GtkWindow: Use client pointer on pointer-dependent positioning.
...
GTK_WIN_POS_MOUSE and GTK_WIN_POS_CENTER* now work relatively to the client
pointer.
2010-06-24 02:30:54 +02:00
Carlos Garnacho
928e2a5780
GtkDnD: Use client pointer if no event is available.
2010-06-24 02:30:53 +02:00
Javier Jardón
009e26f32f
[gtk-example-application] Use the new api
2010-06-24 02:02:10 +02:00
Javier Jardón
7ea1556cd0
Remove unnused variable
2010-06-24 01:32:23 +02:00
Javier Jardón
79350fcd8a
Fix warning: should pass gboolean*, not gboolean**
2010-06-24 01:31:01 +02:00
Tristan Van Berkom
55f8b4742f
Fixing debug build (s/extended layout/size request/ in GTK_NOTE flags).
2010-06-23 18:09:29 -04:00
Paolo Borelli
d17fbd06cb
Do not leak devices list in do_focus_change
2010-06-23 12:43:49 +02:00
Javier Jardón
cb21d4473e
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:28:51 +02:00
Javier Jardón
626240b0fe
[test] Exclude message-area as it's a object property
2010-06-22 22:26:18 +02:00
Javier Jardón
a681c37604
Add new api to gtk.symbols
...
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
2010-06-22 21:52:01 +02:00
Javier Jardón
3c46d9acbc
[gtkaccessible] Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:12:53 +02:00
Federico Mena Quintero
9b9bb4c6e8
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-22 13:13:44 -05:00
Vincent Untz
abfc6f8f07
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
...
https://bugzilla.gnome.org/show_bug.cgi?id=622371
2010-06-22 12:14:38 -05:00
Chris Kühl
078da34a26
[docs] Fixes issue with GtkEntryBuffer signal documentation
2010-06-21 19:59:06 +02:00
Murray Cumming
d927df0c3d
gtkenums.h: Remove trailing comma to fix warning.
2010-06-21 15:21:44 +02:00
Javier Jardón
d47e63856b
Do not distribute GIRs
2010-06-20 08:20:42 +02:00
Javier Jardón
d5d7fd9f51
Remove unused gtk_style_get_font_internal() function
...
This function is no longer necesary as draw_string() function
was dropped from GtkStyle
See commit 5300dc2b36
2010-06-20 00:50:52 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Matthias Clasen
2a2843c041
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk2-only symbol, error out early.
2010-06-18 22:27:26 -04:00
Matthias Clasen
32dd5882a0
Fix make check
2010-06-18 21:58:36 -04:00
Emmanuele Bassi
b98667d41e
application: Remove a variable and silence a compiler warning
2010-06-18 14:26:57 +01:00
Emmanuele Bassi
2755b93913
application: Revert the leak plug
...
The &s in the signature of a GVariant means "pass me a pointer". To
avoid repeating the same mistake, use a const gchar* to declare the
key.
2010-06-18 14:26:05 +01:00
Emmanuele Bassi
3e1b82336c
application: Plug a leak
...
The key returned by g_variant_iter_next() should be freed as well.
Also, clean up the coding style a bit.
2010-06-18 12:06:39 +01:00
Tristan Van Berkom
5f4309be96
Fixed some typos in new docs that are about GtkSizeRequest (not GtkSizeGroup)
2010-06-18 00:32:09 -04:00
Tristan Van Berkom
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Christian Persch
9d0b941da6
application: Fix marshaler for GVariant gtype change
...
Use VARIANT instead of BOXED.
2010-06-18 00:25:06 +02:00
Stanislas Marquis
a14c820aa9
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-17 18:22:54 +02:00
Emmanuele Bassi
4f357dbf95
application: Allow sub-classes to override the Window creation
...
Sub-classes of GtkApplication might want to override the way an
application window is created - for instance, to hook into GtkBuilder
or to set up some basic UI or state.
A new GtkApplication::create_window() virtual function is added to the
GtkApplicationClass vtable, which returns the newly created GtkWindow.
The gtk_application_create_window() function calls the vfunc and adds
the returned window to the list of windows managed by the application
instance.
Calling gtk_application_add_window() will also set the default window,
if one is not already set.
This commit also removes a spurious g_object_ref_sink() on the newly
created GtkWindow.
2010-06-17 15:41:12 +01:00
Javier Jardón
2747f9d84d
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:36:30 +02:00
Javier Jardón
318fa1e179
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
2010-06-16 20:18:39 +02:00
Colin Walters
bdaefd7efe
[GtkApplication] Update for GApplication API changes
...
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Carlos Garnacho
c5a4bd0578
GtkMenuShell: Store device on GTK+ device grab.
...
gtk_menu_shell_deactivate() needs to know the device to end the
GTK+ grab.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
404f4c5d40
GtkMenuShell: take a single device for grabs.
...
The other device will always be the associated device.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
385f83ff4a
GtkTextView: Scroll on the pointer doing DnD.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
8c957ef3ef
GtkWidget: Undef GDK_DISABLE_DEPRECATED
...
This is needed for gdk_input_set_extension_events(), used by its GTK+
counterpart.
2010-06-15 21:06:10 +02:00
Tristan Van Berkom
1b2e9124f0
Fixed negative allocations from gtk_box_size_allocate()
...
Fixed the allocation loop to check if it was allocated at least
enough space to hold its visible children before going and distributing
extra space among children. Fixes bgo #617444 .
2010-06-15 14:27:12 -04:00
Carlos Garnacho
b238c0124a
Make GTK+ device grabs take precedence over GTK+ grabs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=620440 (Reported by
Marek Kašík), where the print dialog modality would impair the pop-up
window from getting events. Device GTK+ grabs gain in specificness.
2010-06-15 19:39:59 +02:00
Javier Jardón
2e4ba929ba
[docs] Make GtkUIManager signal documentation more consistent
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621631
2010-06-15 15:29:59 +02:00
Matthias Clasen
294f810021
Docmentation improvements
...
Don't mention removed _defaults functions in the docs, also try
to clarify the situation around fill and expand defaults.
2010-06-15 01:23:30 -04:00
Thomas Wood
e19c50b538
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
2010-06-15 00:00:40 -04:00
Matthias Clasen
e9fc660d7e
Add a variant of gtk_icon_theme_load_symbolic that takes a style
...
As proposed by Owen in bug 621578 to reduce code duplication.
2010-06-14 23:46:46 -04:00
Matthias Clasen
d53b0c200d
Remove some useless defines
2010-06-14 17:23:07 -04:00
Colin Walters
6c71da01cc
[GtkApplication] Update for GApplication API changes
...
We now implement "quit" and "action" signals here.
https://bugzilla.gnome.org/show_bug.cgi?id=621003
2010-06-14 18:30:51 -04:00
Paolo Borelli
cf14d4f368
Annotate the methods to get TextBuffer iters
2010-06-14 19:04:47 +02:00
Claudio Saavedra
ef6ef84221
Fix typo in docs for GtkFileChooser
...
Reported by Martin Olsson in
https://bugzilla.gnome.org/show_bug.cgi?id=621479
2010-06-14 17:46:09 +03:00
John (J5) Palmieri
76db7d69f1
annotate gtk_color_selection_get_current_color color param as out
2010-06-10 14:53:12 -04:00
Javier Jardón
785027751a
constify gtk_init_with_args()'s GOptionEntry argument
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621111
2010-06-10 03:51:51 +02:00
Javier Jardón
e902786017
[docs] Saturation is the intensity of the color, not the "deepness"
...
Reported by Seán de Búrca in bug
https://bugzilla.gnome.org/show_bug.cgi?id=466475
2010-06-09 20:02:31 +02:00
Cosimo Cecchi
4f66b8e37c
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:22:35 +02:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Javier Jardón
9ad9c193ea
[docs] Added some GtkIconView missing documentation
...
Document GtkIconViewDropPosition and GtkIconViewForeachFunc.
The docs was removed by error in commit
e17b9f282f
2010-06-09 06:25:28 +02:00
Matthias Clasen
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Steve Frécinaux
8147019930
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:37:55 +02:00
Matthias Clasen
4bf5a171e2
Distcheck fixes
2010-06-08 15:37:52 -04:00
Federico Mena Quintero
2f990d4726
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-08 12:09:48 -05:00
Matthias Clasen
79b161f709
Use gtk_action_group_get_action when looking up actions
...
...instead of open-coding it. Pointed out by Christian Persch
in bug 620960
2010-06-08 09:03:07 -04:00
Matthias Clasen
cca298ad7d
Remove debug spew
2010-06-08 08:58:16 -04:00
Matthias Clasen
b366ae9c22
Update to GApplication api changes
2010-06-08 08:29:01 -04:00
John (J5) Palmieri
0491b409a9
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:21:21 -04:00
Steve Frécinaux
046069d918
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:00:28 +02:00
Matthias Clasen
1ae257d00a
Add GtkApplication
...
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.
This is based on GApplication.
Future work:
* Add a way to say "This is my application menubar", which gets
put into all toplevel windows on non-OS-X, and into the top
on OS X.
* Support session management.
* Support application settings.
https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
John (J5) Palmieri
2c5871479e
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:15:39 -04:00
John (J5) Palmieri
0d2366d5eb
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:15:27 -04:00
Marek Kasik
ca6aacc32d
Return error instead of showing an error dialog when printing
...
Remove message dialogs showing an error when printing. Return
GTK_PRINT_OPERATION_RESULT_ERROR and set error in such a case.
Also return GTK_PRINT_OPERATION_RESULT_CANCEL when cancelled.
Do it for synchronous and asynchronous cases (#549127 ).
2010-06-07 14:52:38 +02:00
Sven Herzberg
5300dc2b36
drop the draw_string() function from GtkStyle
...
Reviewed by Michael Natterer.
* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
already. There's no one left who should be using this function
(found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
function
2010-06-07 13:56:10 +02:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Christian Dywan
35be520983
Make progressbars render progress again
...
This was broken during some earlier deprecation cleanup.
Bug 620509.
2010-06-04 20:03:19 -04:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Stanislas Marquis
fe8d093a3c
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-05 00:45:37 +02:00
Matthias Clasen
233388e693
Fix a parameter name mismatch
2010-06-04 16:15:58 -04:00
Matthias Clasen
dbe82e0e83
Fix a doc comment typo
2010-06-04 16:13:34 -04:00
Javier Jardón
a277789270
[docs] gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:54:56 +02:00
Tadej Borovšak
2c8e635a62
[docs] Improve GtkAction documentation
...
Simple GtkAction API docs update that makes it easier to understand
how action affects the appearance of proxy.
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-04 00:06:05 +02:00
Matthew Barnes
bb5c585777
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
1b53565bf9
GtkSeparator is no instantiatable
2010-06-03 01:21:18 -04:00
Matthias Clasen
700196f71e
Update documentation for orientables
...
Don't document these as abstract anymore, since they are now
instantiatable.
2010-06-03 01:18:42 -04:00
Matthias Clasen
6a8a2f7ef3
Remove docs about 1.2 <> 2.0 differences
...
These should not be kept in 3.0.
Noticed by Dan Winship in bug #619838 .
2010-06-02 19:59:41 -04:00
Matthias Clasen
ee0d695a91
Fix a doc typo
...
See bug #620244
2010-06-02 19:56:47 -04:00
Garrett Regier
2e4a066cd0
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:50:28 +02:00
Johan Dahlin
5c283cacbe
[gtktreeview] Add a couple of annotations
2010-05-31 12:12:06 -03:00
Matthias Clasen
c557f7b7c4
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Matthias Clasen
6737d91d28
Trivial typo fix
2010-05-30 02:17:51 -04:00
Matthias Clasen
654bb6ca66
Simple typo fix
2010-05-30 02:17:51 -04:00
Michael Natterer
9b9945b8e7
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
(cherry picked from commit cb8c076321
)
2010-05-29 05:10:19 +02:00
John (J5) Palmieri
c707e445ca
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:36:04 -04:00
Javier Jardón
25ec337a16
Revert "Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum"
...
This reverts commit 72467ba2e6
.
2010-05-28 00:14:59 +02:00
John (J5) Palmieri
256759a3b7
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 16:58:52 -04:00
John (J5) Palmieri
c21e9ba7c3
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 16:53:42 -04:00
Javier Jardón
86441c6427
gtkwidget.h: Fix a typo
...
Fix a type introduced in
commit 818d444e2f
Reported by Garrett Regier.
2010-05-27 22:01:15 +02:00
Javier Jardón
72467ba2e6
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-05-27 19:58:24 +02:00
Javier Jardón
818d444e2f
Remove GTK_NO_REPARENT deprecated widget flag
2010-05-27 18:05:02 +02:00
Javier Jardón
45aa82d85f
Deprecate GTK_NO_REPARENT
2010-05-27 18:04:05 +02:00
Javier Jardón
258f9e814a
gtkmain: remove some unused code
2010-05-27 05:54:18 +02:00
Javier Jardón
485bbadc0a
gtkmain: Remove unused GtkClosure struct
2010-05-27 05:45:27 +02:00
Javier Jardón
154e3ba502
gtkcontainer: Remove unused GtkForeachData struct
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619672
2010-05-27 03:37:32 +02:00
Michael Natterer
6b4e19a132
Bug 607628 - DnD operation doesn't work when using offscreen
...
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
(cherry picked from commit c4b1bbf3e2
)
2010-05-26 17:21:09 +02:00
Carlos Garcia Campos
6bac9dfd28
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
2010-05-26 16:49:31 +02:00
Matthias Clasen
c7a48881c6
Documentation fixes
2010-05-25 19:27:42 -04:00
Matthias Clasen
b4e2ff3da3
Make orientable base classes instantiable
...
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
2010-05-25 18:55:15 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Bruce Cowan
a538f639b6
Fix conflict Git markers
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619655
2010-05-25 21:46:35 +02:00
John (J5) Palmieri
57754edef6
add a transfer none annotation to gtk_tree_view_get_selection
...
* it returns the selection from its priv structure without reffing
2010-05-25 11:49:10 -04:00
Matthias Clasen
8d2e20c2dc
Fix up gtk_paned_get_handle_window docs
2010-05-25 09:47:54 -04:00
Matthias Clasen
c4134a535e
Fix up gtk_icon_info_load_symbolic docs
2010-05-25 09:47:20 -04:00
Matthias Clasen
4df758dd16
Document GtkRange::adjust-bounds
2010-05-25 09:44:29 -04:00
Matthias Clasen
54cf057f11
Document GtkMovementStep
2010-05-25 09:42:09 -04:00
Matthias Clasen
1c6de294d8
Document GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
2010-05-25 09:34:38 -04:00
Javier Jardón
cc8dcf738a
Remove deprecated GtkToolbar code
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Javier Jardón
b18b33ae82
Revert "Forward-port a GtkAdjustment compatibility fix"
...
In the early 2.14.x releases, GtkAdjustment was changed to enforce
that values are restricted to the range [lower, upper - page_size].
This has always been the documented behaviour, and the recommended
practice is to set page_size to 0 when using adjustments for simple
scalar values, like in a slider or spin button.
Due to the large number of applications that are affected by this
change, the behaviour has been reverted to the old behaviour in
2.14.3, with an explicit warning that this change will be
reintroduced in 2.90.
This reverts commit e6373738fc
.
https://bugzilla.gnome.org/show_bug.cgi?id=619474
2010-05-24 15:39:30 +02:00
Matthias Clasen
94abf4733f
Deprecate GtkBoxChild
...
This was discussed in bug 613132.
2010-05-22 00:15:00 -04:00
Matthias Clasen
bb91ebcb8f
Fix signal parameters in GtkEntryCompletion
...
The ::match-selected and ::cursor-on-match signal were emitted
with the internal filter model instead of the user-provided model.
Fixes bug #555087 .
2010-05-21 23:50:46 -04:00
Christian Dywan
82e27aede9
Explain that unmap-event may never be emitted
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=613302
2010-05-21 17:10:25 +02:00
Javier Jardón
280b01a8db
Move documentation to inline comments: GtkRecentChooserDialog
2010-05-21 04:15:02 +02:00
Javier Jardón
98cee5e6e2
Move documentation to inline comments: GtkRecentChooserMenu
2010-05-21 03:19:02 +02:00
Javier Jardón
2f28e88dea
Move documentation to inline comments: GtkRange
2010-05-21 03:09:43 +02:00
Tristan Van Berkom
80ee7f793a
Amending GtkBuildable documentation.
...
GtkBuildable documentation has forever stated that "only
objects which implement GtkBuildable can parsed by GtkBuilder" fixed.
2010-05-20 00:33:20 -04:00
Javier Jardón
68701c828c
Move documentation to inline comments: GtkRadioButton
2010-05-20 00:42:50 +02:00
John (J5) Palmieri
85b53969b2
[PATCH] add the binding friendly join_group method to GtkRadioAction
...
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioAction objects and not with the list of objects that gets
modified in the library
2010-05-19 15:16:46 -04:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
fac142c25a
gtk/gtkobject: use G_DEFINE_ABSTRACT_TYPE
2010-05-18 18:21:18 +02:00
Javier Jardón
dfa9214681
Move documentation to inline comments: GtkRecentChooser
2010-05-18 18:16:35 +02:00
Murray Cumming
f54910cf86
GtkDebug: Remove a trailing comma on an enum.
2010-05-18 09:32:44 +02:00
Jan Arne Petersen
4704a239ac
GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
...
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:51:01 +02:00
Matthias Clasen
735bee47be
Let query utilities update the cache file directly
...
This is much more convenient for packagers than having to
redirect the output into the cache file, and much less error-prone.
2010-05-17 22:58:25 -04:00
Matthias Clasen
0b0f176ac4
Move the module cache files below libdir
...
These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
2010-05-17 21:30:46 -04:00
Javier Jardón
98e773d93d
Move documentation to inline comments: GtkSeparatorToolItem
2010-05-16 02:39:50 +02:00
Javier Jardón
19448b9712
Move documentation to inline comments: GtkPrinter
2010-05-16 02:11:16 +02:00
Javier Jardón
b00a09de11
Move documentation to inline comments: GtkTreeView drag-and-drop
2010-05-16 02:04:12 +02:00
Javier Jardón
56d7417fcc
Move documentation to inline comments: GtkRecentChooserWidget
2010-05-16 01:58:06 +02:00
Javier Jardón
885b6d8a75
Move documentation to inline comments: GtkStyle
2010-05-16 01:37:36 +02:00
Javier Jardón
f121a502f9
Move documentation to inline comments: GtkSeparatorMenuItem
2010-05-16 00:40:11 +02:00
Javier Jardón
08bd42cf8d
Move documentation to inline comments: GtkScaleButton
2010-05-16 00:32:05 +02:00
Javier Jardón
8e06ef4f63
Move documentation to inline comments: GtkRadioAction
2010-05-16 00:26:22 +02:00
Javier Jardón
bddf455874
Move documentation to inline comments: GtkRecentAction
2010-05-16 00:20:53 +02:00
Javier Jardón
157d618d6b
Move documentation to inline comments: GtkObject
2010-05-13 19:39:44 +02:00
Javier Jardón
95bb12ee66
Move documentation to inline comments: GtkOrientable
2010-05-13 03:35:02 +02:00
Javier Jardón
8319585673
Move documentation to inline comments: GtkToggleAction
2010-05-13 03:23:30 +02:00
Javier Jardón
45434cc699
Move documentation to inline comments: GtkPageSetupUnixDialog
2010-05-13 01:26:10 +02:00