Javier Jardón
541448732d
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-04-03 20:56:07 -04:00
Christian Dywan
931ed06beb
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-03 20:56:06 -04:00
Michael Natterer
ca9e029838
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-04-03 20:56:06 -04:00
Cody Russell
bc01a0cbcf
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-04-03 20:56:05 -04:00
Michael Natterer
9dfadca46c
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-04-03 20:56:05 -04:00
Cody Russell
1ae55844f7
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-04-03 20:55:29 -04:00
Christian Dywan
21ef8f9ad9
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-04-03 20:55:28 -04:00
Christian Dywan
bffcae28d7
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-04-03 20:55:28 -04:00
Javier Jardón
d8453e7826
[docs] Fix GtkOffscreenWindow documentation
2010-04-03 20:55:27 -04:00
Paul Davis
1c9cc0acf0
Small memory fix
2010-04-03 20:55:23 -04:00
Michael Natterer
88977f73eb
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-04-03 20:55:23 -04:00
Michael Natterer
5585335dd9
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-04-03 20:55:23 -04:00
Claudio Saavedra
189a35fe59
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-04-03 20:55:23 -04:00
Matthias Clasen
c81131ff21
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-04-03 20:55:22 -04:00
Murray Cumming
2a762bf6ca
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-04-03 20:55:21 -04:00
Javier Jardón
ef3dc5fd42
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:21 -04:00
Kristian Rietveld
9743d2e83c
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-04-03 20:55:20 -04:00
Murray Cumming
eed0dd0944
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-04-03 20:55:20 -04:00
Matthias Clasen
2091807b24
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-04-03 20:55:20 -04:00
Matthias Clasen
c31f02b455
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-04-03 20:55:20 -04:00
Matthias Clasen
b5061249e7
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-04-03 20:55:19 -04:00
Murray Cumming
18b7ad4182
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-04-03 20:55:18 -04:00
Michael Natterer
27f81d8918
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-04-03 20:55:18 -04:00
Javier Jardón
905edf9478
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-04-03 20:55:18 -04:00
Javier Jardón
149f5891fa
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-04-03 20:55:17 -04:00
Matthias Clasen
c0d7fe2ad4
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-04-03 20:55:17 -04:00
Christian Dywan
4285f21b3b
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-04-03 20:55:13 -04:00
Christian Dywan
43572af86e
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-04-03 20:55:13 -04:00
Christian Dywan
cad18bbfe3
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-04-03 20:55:13 -04:00
Christian Dywan
174c126b6e
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-04-03 20:55:13 -04:00
Javier Jardón
a821df1577
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-04-03 20:55:13 -04:00
Christian Persch
66882103cc
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-04-03 20:55:12 -04:00
Javier Jardón
b3e06e8302
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-04-03 20:55:12 -04:00
Jean Brefort
694bf7230e
fix critical in gtk_editable_insert_text
2010-04-03 20:55:11 -04:00
Javier Jardón
f8d1cf58af
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:11 -04:00
Javier Jardón
69de358b38
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:10 -04:00
Javier Jardón
02b2810a0e
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-04-03 20:55:09 -04:00
Christian Dywan
4b03789551
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-04-03 20:55:08 -04:00
Christian Dywan
5db40e41b3
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-04-03 20:55:08 -04:00
Christian Dywan
bcb255593d
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-04-03 20:55:08 -04:00
Christian Dywan
fc2cbf960c
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:07 -04:00
Christian Dywan
20dcd8a723
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-04-03 20:53:49 -04:00
Christian Dywan
ea7bd00e92
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-04-03 20:53:49 -04:00
Benjamin Otte
d3e91fbba6
Document missing signal parameter
2010-04-03 20:53:49 -04:00
Matthias Clasen
e337bd8583
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-04-03 20:53:49 -04:00
Kristian Rietveld
51f9ce390f
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-04-03 20:53:48 -04:00
Kristian Rietveld
91663e0791
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-04-03 20:53:48 -04:00
Murray Cumming
b2d6bf1526
GtkToolPalette: docs: Minor English corrections.
2010-04-03 20:53:48 -04:00
Johan Dahlin
9242d1414d
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2010-04-03 20:53:47 -04:00
Johan Dahlin
e4ac9609a2
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2010-04-03 20:53:47 -04:00