Javier Jardón
72948f46bd
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-03-06 13:17:56 +01:00
Javier Jardón
691c13c424
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:13:01 +01:00
Javier Jardón
a7efb2eaa0
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:01:58 +01:00
Javier Jardón
24491f8224
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:29:26 +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
Patrick Bernaud
7ab2155aef
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-03-05 05:37:16 +01:00
Steven Harms
3f579a7a93
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-03-05 05:25:07 +01:00
Steven Harms
15d1d8bb3b
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-03-04 02:33:56 +01:00
Steven Harms
f0f3b01876
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-03-04 02:33:50 +01:00
Steven Harms
69279262bc
Update gtkvscale documentation for in code comments. Removed template document
2010-03-03 23:46:15 +01:00
Javier Jardón
62a829dd30
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-03-03 23:05:40 +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
32d043535b
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-03-03 02:39:25 +01:00
Javier Jardón
491ed58420
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-03-02 18:24:21 +01:00
Javier Jardón
f8fb228752
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-03-02 17:54:16 +01:00
Javier Jardón
e8e95d4c5e
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-03-02 07:58:05 +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
c3d09e5627
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-03-01 18:24:28 +01:00
Javier Jardón
27b64f50e6
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-03-01 18:14:05 +01:00
Javier Jardón
b909abaa62
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-03-01 18:03:19 +01:00
Javier Jardón
b4b95d07f8
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:57:27 +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
64f526d34e
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:59:23 +01:00
Javier Jardón
f5bde06e82
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:44:19 +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
Florian Müllner
c4a3a7bdfd
Add introspection annotation for gtk_builder_get_object
2010-02-25 21:33:15 +01:00
Matthias Clasen
e69add1dad
Add some missing docs
2010-02-23 14:14:02 -05:00
Matthias Clasen
e601f6c478
doc fixes
2010-02-23 14:14:02 -05:00
Matthias Clasen
1e381138f3
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-02-23 12:51:45 -05:00
Matthias Clasen
06d02578f8
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-02-23 11:23:10 -05:00
Matthias Clasen
ddcc305f4e
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-02-23 11:16:04 -05:00
Matthias Clasen
c3f0cdcfcf
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-02-23 11:13:16 -05:00
Matthias Clasen
9ce6db1297
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-02-23 10:30:23 -05:00
Carlos Garcia Campos
62758ff5ef
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-02-22 15:02:58 +01:00
Carlos Garcia Campos
e5fc3dcf64
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-02-22 15:02:19 +01:00
Viktor Pracht
ff28ee8e6b
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-02-19 18:58:01 -02:00
Johan Dahlin
592fd7a93b
[annotations] Add allow-none for gtk_menu_popup
2010-02-19 18:52:19 -02: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
Michael Natterer
347d406f80
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-02-19 17:04:20 +01:00
Stefan Kost
5ff724ea95
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-02-15 10:14:50 +02:00
Stefan Kost
ad93f2bc3e
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-02-15 10:14:50 +02:00
Javier Jardón
c77678e037
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8
.
2010-02-13 04:54:19 +01:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00
Matthias Clasen
6f566057e8
Drop duplicate declarations
2010-02-12 18:55:42 -05:00
Christian Dywan
f9a3ce06cc
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-02-12 18:10:17 +01:00
Michael Natterer
0231cff988
Allow calling gtk_widget_style_attach() only when realized
2010-02-11 09:27:05 +01:00
Javier Jardón
3cccae316e
Fix compilation warning: return FALSE instead NULL
2010-02-11 01:11:17 +01:00
Javier Jardón
45987f44c4
Fix compilation warning: cast to GCompareFunc
2010-02-11 00:57:13 +01:00
Matthias Clasen
e821eea4f0
Add some more goddamn accessors
2010-02-09 13:41:58 -05:00
Matthias Clasen
893408352d
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-02-09 13:41:58 -05:00
Matthias Clasen
412beb4444
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-02-09 13:41:58 -05:00
Matthias Clasen
beddf67e56
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-02-09 13:41:57 -05:00
Matthias Clasen
9fc642019e
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-02-09 13:41:57 -05:00
Alan Knowles
b193be9003
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-02-09 12:27:05 -05:00
Christian Persch
9497a198f7
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-02-09 15:08:56 +01:00
Tor Lillqvist
d2b412af40
Use correct processorArchitecture for x86_64 in manifest file
2010-02-09 12:19:22 +02:00
Javier Jardón
2adef27d7b
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-02-09 04:12:25 +01:00
Christian Dywan
5adb75f26b
[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-02-07 01:52:58 +01:00
Michael Natterer
07dc2f6c35
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-02-06 15:57:15 +01:00
Cody Russell
0d94617935
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-02-04 15:35:15 -08:00
Michael Natterer
9d4c8f38d8
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-02-04 16:43:54 +01:00
Cody Russell
2147e57f46
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-01-29 11:10:16 -06:00
Christian Dywan
c9639c924b
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-01-29 16:49:12 +01:00
Christian Dywan
a23f581c5d
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-01-29 16:43:15 +01:00
Javier Jardón
cc62ab3a0c
[docs] Fix GtkOffscreenWindow documentation
2010-01-28 04:10:39 +01:00
Paul Davis
7767dae9cf
Small memory fix
2010-01-22 21:09:10 +01:00
Michael Natterer
2f9c4be0a8
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-01-22 17:20:01 +01:00
Michael Natterer
35a2b65328
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-01-22 16:52:56 +01:00
Claudio Saavedra
52acceef56
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-01-22 16:53:33 +02:00
Matthias Clasen
97a1a28bcb
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-01-20 12:25:24 -05:00
Murray Cumming
cf8b941807
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-01-19 09:04:15 +01:00
Javier Jardón
6b808a7389
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-01-19 00:20:52 +01:00
Matthias Clasen
833b9b42cc
Fix a redraw problem with action widgets
...
Fixes bug 603245.
2010-01-18 17:06:48 -05:00
Kristian Rietveld
2f73fb76c1
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-01-18 22:22:30 +01:00
Murray Cumming
a491091e29
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-01-18 09:37:14 +01:00
Matthias Clasen
d253fb5140
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-01-18 01:20:50 -05:00
Matthias Clasen
5e7801a304
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-01-17 23:47:20 -05:00
Matthias Clasen
b242c02e71
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-01-17 23:33:19 -05:00
Murray Cumming
122d2a3288
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-01-14 10:26:49 +01:00
Michael Natterer
4b1299ab8f
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-01-13 22:23:03 +01:00
Javier Jardón
f1676cfb11
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-01-12 21:00:30 +01:00
Javier Jardón
291aa854df
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-01-12 20:19:40 +01:00
Matthias Clasen
b6ff1abc93
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-01-12 01:10:13 -05:00
Christian Dywan
2520d02be9
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-01-11 17:37:13 +01:00
Christian Dywan
90f72a0d8f
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-01-11 10:59:26 +01:00
Christian Dywan
5bcc4e2e97
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-01-11 10:35:06 +01:00
Christian Dywan
3925408232
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-01-11 10:30:48 +01:00
Javier Jardón
ccf17a828b
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
Christian Persch
e18ac2a617
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-01-08 19:48:14 +01:00
Javier Jardón
f5b21802bb
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-01-08 18:27:43 +01:00
Jean Brefort
808e698ea7
fix critical in gtk_editable_insert_text
2010-01-07 16:40:49 +01:00
Javier Jardón
56a893ca8c
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:05:08 +01:00
Javier Jardón
51e0dd9a82
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-01-07 10:04:55 +01:00
Javier Jardón
aa63be61d9
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-01-04 11:47:40 +01:00
Christian Dywan
d8adf58d38
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-01-04 08:41:07 +01:00