summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert GailScaleButton to GtkScaleButtonAccessibleMatthias Clasen2011-07-051-0/+3
|
* Silence new gcc warningsMatthias Clasen2011-01-231-25/+14
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-3/+4
|
* scalebutton: Update adjustment usage for sealingBenjamin Otte2011-01-051-31/+31
| | | | | Also rename all variables named "adj" to "adjustment", like they're called everywhere else.
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-1/+1
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Drop explicit includes of gdkkeysyms.hMatthias Clasen2011-01-041-3/+0
| | | | | These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h to use the new GDK_KEY_ symbols.
* Move all GdkDevice members to private and add one missing accessorMichael Natterer2010-11-231-1/+1
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-10-311-1/+1
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-1/+1
|
* Remove unneded castsJavier Jardón2010-09-291-2/+3
| | | | | | As gtk_adjustment_new() returns a GtkAdjustment* now https://bugzilla.gnome.org/show_bug.cgi?id=630731
* gtk_adjustment_new() should return a GtkAdjustment*Javier Jardón2010-09-291-1/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=630731
* Remove GtkObject completelyMatthias Clasen2010-09-261-3/+3
|
* Move classes that currently derive from GtkObject to GInitiallyUnownedJavier Jardón2010-09-261-1/+1
|
* Fix a couple of broken annotationsJohan Dahlin2010-09-231-1/+1
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-4/+4
|
* GDK: Prefix key names with KEY_Colin Walters2010-09-081-7/+7
| | | | | | | | | | | | | The keysyms create a lot of potential namespace conflicts for C, and are especially problematic for introspection, where we take constants into the namespace, so GDK_Display conflicts with GdkDisplay. For C application compatiblity, add gdkkeysyms-compat.h which uses the old names. Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is the gtkimcontextsimple.c, since porting that requires porting more custom Perl code.
* gtkscalebutton: use accessor functions to access GtkRangeJavier Jardón2010-08-231-10/+10
|
* gtk/gtkscalebutton.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-27/+36
|
* GtkScaleButton: Move public members to private structureJavier Jardón2010-07-131-18/+20
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-42/+102
|
* Move documentation to inline comments: GtkScaleButtonJavier Jardón2010-05-161-0/+13
|
* Remove deprecated GtkScaleButton functionsChristian Dywan2010-05-031-40/+0
|
* [annotations] Add allow-noneJohan Dahlin2010-02-191-1/+1
| | | | | | | | 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
* Deprecate some widget flagsJavier Jardón2010-01-071-1/+1
| | | | | | | | | | | | 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
* Change GtkIconSize to int in params/return valuesDan Winship2009-12-191-1/+1
| | | | | | | | | GtkIconSize is an extensible enumeration (via gtk_icon_size_register()), so methods that claim to take/return a GtkIconSize need to actually use "int" to work correctly with bindings that are strict about enum values. https://bugzilla.gnome.org/show_bug.cgi?id=604895
* Bug 461944 – pressing the volume icon in full screen shuts down the soundBastien Nocera2009-06-221-5/+16
| | | | | | | Don't pass the click on the button through to the scale when the dock popup will be moved, otherwise we could end up changing the sound in unexcepted ways (to zero for vertical popups at the bottom of the screen for example).
* add static function gtk_scale_button_set_orientation_private() and use itMichael Natterer2009-03-181-47/+54
| | | | | | | | | | | 2009-03-18 Michael Natterer <mitch@gimp.org> * gtk/gtkscalebutton.c: add static function gtk_scale_button_set_orientation_private() and use it instead of the public but deprecated gtk_scale_button_set_orientation(). svn path=/trunk/; revision=22574
* don't call gtk_orientable_set_orientation() because that callsMichael Natterer2009-03-061-1/+1
| | | | | | | | | | | | 2009-03-06 Michael Natterer <mitch@gimp.org> * gtk/gtkscalebutton.c (gtk_scale_button_set_property): don't call gtk_orientable_set_orientation() because that calls g_object_set() again -> infinite recursion. Call gtk_scale_button_set_orientation() instead. svn path=/trunk/; revision=22478
* make the orientation flipping much simpler by using the GtkOrientableMichael Natterer2009-02-191-158/+102
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-19 Michael Natterer <mitch@imendio.com> * gtk/gtkscalebutton.c: make the orientation flipping much simpler by using the GtkOrientable features of the involved widgets: (gtk_scale_button_init): create the frame, box and scale here, they never need to be recreated because they implement GtkOrientable. (gtk_scale_button_constructor): remove their construction here. (gtk_scale_button_set_orientation): don't destroy and re-create anything. Instead, simply set the orientation of the above created widgets and fiddle a bit with the "plus" and "minus" buttons' packing and the scale's "inverted" state. Remove separate internal GtkScaleButtonHScale and GtkScaleButtonVScale subclasses and simply have a GtkScaleButtonScale directly inherited from GtkScale. svn path=/trunk/; revision=22375
* Bug 566532 – GtkScaleButton implementation of GtkOrientableChristian Dywan2009-01-131-11/+13
| | | | | | | | | | | | | | 2009-01-13 Christian Dywan <christian@imendio.com> Bug 566532 – GtkScaleButton implementation of GtkOrientable * gtk/gtk.symbols: * gtk/gtkscalebutton.c (gtk_scale_button_class_init), (gtk_scale_button_set_property): * gtk/gtkscalebutton.h: Deprecate gtk_scale_button_get_orientation in favour of implementing GtkOrientable. Patch by Bruce Cowan. svn path=/trunk/; revision=22112
* Bug 555523 – gtk_scale_button_set_adjustment should accept NULLChristian Dywan2008-10-091-7/+13
| | | | | | | * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment): Create a new adjustment if NULL is passed, like other widgets svn path=/trunk/; revision=21620
* Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.Tor Lillqvist2008-10-011-0/+2
| | | | | | | | | | 2008-10-01 Tor Lillqvist <tml@novell.com> * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. svn path=/trunk/; revision=21559
* Doc fixesMatthias Clasen2008-07-211-0/+4
| | | | svn path=/trunk/; revision=20887
* remove _gtk_binding_signal_new().Michael Natterer2008-07-211-14/+14
| | | | | | | | | | | | | | | | | | 2008-07-21 Michael Natterer <mitch@imendio.com> * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new(). * gtk/gtkfilechooserdefault.c * gtk/gtkmenu.c * gtk/gtkmenushell.c * gtk/gtkscalebutton.c * gtk/gtktextview.c * gtk/gtktoolbar.c * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add some missing I_() to the signal names. svn path=/trunk/; revision=20874
* Doc updatesMatthias Clasen2008-07-041-0/+2
| | | | svn path=/trunk/; revision=20772
* Bug 539944 – Add GtkScaleButton API so struct fields can be marked asMichael Natterer2008-07-041-1/+33
| | | | | | | | | | | | | | 2008-07-04 Michael Natterer <mitch@imendio.com> Bug 539944 – Add GtkScaleButton API so struct fields can be marked as private * gtk/gtk.symbols * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button() and _get_minus_button(). Patch by Christian Dywan. svn path=/trunk/; revision=20757
* Fix make checkMatthias Clasen2008-07-041-13/+13
| | | | svn path=/trunk/; revision=20756
* Add gtk_scale_button_get_popupMatthias Clasen2008-07-031-0/+16
| | | | svn path=/trunk/; revision=20748
* remove "_from_bindings" suffix from the names of binding signalMichael Natterer2008-07-031-7/+7
| | | | | | | | | | 2008-07-03 Michael Natterer <mitch@imendio.com> * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the names of binding signal implementations. svn path=/trunk/; revision=20744
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Bug 442042 – GtkScaleButton is too limitedMichael Natterer2008-06-301-47/+125
| | | | | | | | | | | | | | | 2008-07-01 Michael Natterer <mitch@imendio.com> Bug 442042 – GtkScaleButton is too limited * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal property that can be changed at any time after widget creation. Add public API for it. * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation. svn path=/trunk/; revision=20710
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Bug 442042 – GtkScaleButton is too limitedMichael Natterer2008-06-271-0/+1
| | | | | | | | | | | | | 2008-06-27 Michael Natterer <mitch@imendio.com> Bug 442042 – GtkScaleButton is too limited * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name "gtk-scalebutton-popup-window" on the popup window so it is properly themeable. svn path=/trunk/; revision=20698
* Bug 442042 – GtkScaleButton is too limitedMichael Natterer2008-06-271-89/+244
| | | | | | | | | | | | | | | 2008-06-27 Michael Natterer <mitch@imendio.com> Bug 442042 – GtkScaleButton is too limited * gtk/gtkscalebutton.c: add "orientation" property. Make sure the stuff that is part of the public API continues to be created in init() to stay compatible. Move creating of the popup scale to constructor(). Add an internal HScale class. Changed popup positioning for horizontal scales accordingly. svn path=/trunk/; revision=20692
* gtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,Michael Natterer2008-06-261-46/+40
| | | | | | | | | | | | 2008-06-26 Michael Natterer <mitch@imendio.com> * gtk/gtkscalebutton.c * gtk/gtkvolumebutton.c: remove redundant init() and class_init() prototypes, remove redundant includes, remove a little trailing whitespace. svn path=/trunk/; revision=20691
* Revert GtkScaleButton accesses for plus/minus buttons, as per #539944Johan Dahlin2008-06-241-36/+0
| | | | svn path=/trunk/; revision=20682
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Add missing accessor for sealed fields GtkScaleButton->plus_button andJohan Dahlin2008-06-201-0/+36
| | | | | | | | | | | | | | 2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk.symbols: * gtk/gtkscalebutton.c (gtk_scale_button_get_plus_button), (gtk_scale_button_get_minus_button): * gtk/gtkscalebutton.h: Add missing accessor for sealed fields GtkScaleButton->plus_button and minus_button. svn path=/trunk/; revision=20648
* Fix gtk-doc syntax, add missing trailing colon.Johan Dahlin2008-06-201-6/+5
| | | | | | | | | 2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon. svn path=/trunk/; revision=20646