Matthias Clasen
47836a3af1
Respect GtkEntry::state-hint when drawing spinbutton features
...
As proposed in bug 589904 by Thomas Wood.
(cherry picked from commit bcbb976d91
)
2010-07-12 12:35:15 -04:00
John (J5) Palmieri
1a30c3f272
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-12 12:34:38 -04:00
John (J5) Palmieri
72cd4207b7
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
(cherry picked from commit b5f878dec8
)
2010-07-12 12:33:05 -04:00
Philip Withnall
9a71ad7ca9
Add (out) annotations to GtkTreeIter parameters
...
(cherry picked from commit 0b51abbfdf
)
2010-07-12 12:32:54 -04:00
Colin Walters
1af84d33f7
Fix annotation syntax for gtk_widget_class_path
...
(cherry picked from commit c609c4e807
)
2010-07-12 12:31:23 -04:00
John (J5) Palmieri
3511fe4355
fix annotation for gtk_window_set_default_icon_list
2010-07-12 12:31:03 -04:00
Colin Walters
b27d39ee23
Fix annotation on gtk_tree_model_get_value
...
(cherry picked from commit aff8fb2ea2
)
2010-07-12 12:30:10 -04:00
Ignacio Casal Quinteiro
ef3ec85bac
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.
(cherry picked from commit f50d06baea
)
2010-07-12 12:29:49 -04:00
Xan Lopez
3b62411040
Remove leftover uses/references of GtkNotebook::group-id
...
(cherry picked from commit 533ea97c67
)
2010-07-12 12:29:24 -04:00
John (J5) Palmieri
89743a6370
revert inout annotation for gtk_tree_model_iter_next parameter
...
* 'inout' is poorly defined and causes bugs so revert back to the default
'in' annotation
2010-07-08 15:11:27 -04:00
Philip Withnall
f1e0b23697
Add (out) annotations to GtkTreeIter parameters
2010-07-07 18:28:41 +02:00
Javier Jardón
3805dc3605
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Bump required Glib version to 2.15.10 as we are using the
new G_PARAM_DEPRECATED
2010-07-02 21:55:14 +02:00
Benjamin Otte
b1cc8b9cd8
Make toolbutton not call functions on non-GtkMisc
2010-06-30 18:43:26 +02:00
Matthias Clasen
f23c956473
Revert commit a9b778931c
...
The change turned out to break the pygtk build. So add the
pointless return values back, and document them as going
away in the future.
2010-06-29 21:07:54 -04:00
Matthias Clasen
bdbe090dc0
Silence the build
2010-06-28 13:31:57 -04:00
Kristian Rietveld
e634f3fbe0
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
2010-06-27 10:41:15 +02:00
Mirsal Ennaime
1607efc0b5
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
(cherry picked from commit 23a61525f6
)
2010-06-26 21:22:48 -04:00
Matthias Clasen
47f0af6092
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
(cherry picked from commit e73a2e5654
)
2010-06-26 21:10:41 -04:00
Tristan Van Berkom
1adba9e908
Exposed GtkTreeView's internal GtkTreeSelection for builder files
...
(cherry picked from commit 17516dc83c
)
2010-06-26 14:27:15 -04:00
Matthias Clasen
63a276654d
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-26 14:24:59 -04:00
Ignacio Casal Quinteiro
eb1ec05da3
Fix annotation of gtk_text_iter_(forward/backward)_search.
...
(cherry picked from commit 7e3e2bf29a
)
2010-06-26 14:24:49 -04:00
Javier Jardón
081eaf4484
Remove unnused variable
...
(cherry picked from commit 7ea1556cd0
)
2010-06-26 14:17:30 -04:00
Chris Kühl
85ed525682
[docs] Fixes issue with GtkEntryBuffer signal documentation
...
(cherry picked from commit 078da34a26
)
2010-06-26 14:11:00 -04:00
Stanislas Marquis
82c89e9456
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org>
(cherry picked from commit a14c820aa9
)
2010-06-26 14:09:53 -04:00
Javier Jardón
6eebe91b7a
[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
(cherry picked from commit 318fa1e179
)
2010-06-26 14:06:48 -04:00
Thomas Wood
a9b778931c
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 .
(cherry picked from commit e19c50b538
)
2010-06-26 14:03:32 -04:00
Paolo Borelli
ace3ea4a89
Annotate the methods to get TextBuffer iters
...
(cherry picked from commit cf14d4f368
)
2010-06-26 14:03:00 -04:00
John (J5) Palmieri
95b7dca983
annotate gtk_color_selection_get_current_color color param as out
...
(cherry picked from commit 76db7d69f1
)
2010-06-26 13:53:15 -04:00
Matthias Clasen
cb29d27707
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
Matthias Clasen
fa7ace866c
Fix the build
...
Forgot to update callers of _gtk_window_group_get_current_grab.
2010-06-24 13:06:29 -04:00
Javier Jardón
7d6d1af7a1
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:13:17 +02:00
Javier Jardón
022f88a6ac
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:49:30 +02:00
Matthias Clasen
5c93288199
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:21:29 -04:00
Javier Jardón
c0c4ab0946
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:38:36 +02:00
Javier Jardón
a39c3b43b2
[test] Exclude message-area as it's a object property
2010-06-22 22:46:29 +02:00
Javier Jardón
8ceef86cf8
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:48 +02:00
Javier Jardón
200896e9b9
Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:13:41 +02:00
Federico Mena Quintero
ce504e2217
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-06-22 13:10:52 -05:00
Vincent Untz
49943be22b
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:22:38 -05:00
Yaakov Selkowitz
6922490fa5
Do not dist gir_DATA
...
GIR files contain a shared-library attribute which varies per platform,
and therefore must not be disted; see bug 621611 for rationale.
https://bugzilla.gnome.org/show_bug.cgi?id=621719
2010-06-20 08:26:26 +02:00
Matthias Clasen
cbb01e6063
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk3-only symbol, error out early.
2010-06-18 22:40:50 -04:00
Javier Jardón
606180b746
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:50:29 +02:00
Benjamin Otte
a8e3ce6bb4
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-16 12:41:40 +02:00
Benjamin Otte
6138f23f5b
Make declaration return a boolean when the function does that
2010-06-16 11:54:41 +02:00
Johan Dahlin
05dad359e7
[gtktreeview] Add a couple of annotations
...
(cherry picked from commit 5c283cacbe
)
2010-06-10 09:11:40 -04:00
Cosimo Cecchi
54e959ef96
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:23:20 +02:00
Steve Frécinaux
1a00cb9df5
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:38:40 +02:00
Benjamin Otte
af7f95207e
menu: Fix wrong comparison causing navigation region to not get removed
...
The navigation region that got created for right-facing submenus when
moving the cursor up would have two negative values which caused the
check to go wrong.
I refactored the code to make that check into a separate function as it
makes the check not only harder to get wrong, but also the code easier
to read.
http://bugzilla.gnome.org/show_bug.cgi?id=620863
2010-06-08 21:56:28 +02:00
Federico Mena Quintero
4acbc2fdb0
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:11:00 -05:00
John (J5) Palmieri
3b50f22873
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:38:21 -04:00