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