Benjamin Otte
3078b180fe
Replace "gdouble" with "double"
2020-07-25 00:47:36 +02:00
Benjamin Otte
d7266b25ba
Replace "gint" with "int"
2020-07-25 00:47:36 +02:00
Matthias Clasen
2a24b8c653
Replace most remaining uses of container api
...
These are all on GtkBox or enumerating children.
2020-05-11 22:38:21 -04:00
Matthias Clasen
cd0081d08a
Use gtk_window_destroy
...
Replace calls to gtk_widget_destroy on windows
with gtk_window_destroy.
2020-05-11 12:20:57 -04:00
Alexander Mikhaylenko
56f56e6352
tests: Connect signal properly for testvolumebutton
2020-05-11 19:54:32 +05:00
Alexander Mikhaylenko
2323e8d77d
tests: Remove orientation from testvolumebutton
...
GtkVolumeButton isn't orientable anymore.
2020-05-11 19:53:31 +05:00
Matthias Clasen
f59f355190
Use gtk_window_set_child throughout
...
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
2020-05-04 22:53:08 -04:00
Benjamin Otte
a278edab22
window: Remove type argument from gtk_window_new()
2020-02-14 21:18:49 +01:00
Matthias Clasen
a6c5466900
Stop using gtk_main and gtk_main_quit
...
Replace these calls with direct use of GMainContext api.
2020-02-09 23:12:32 -05:00
Matthias Clasen
5368f98dd5
demos: Stop using gtk_button_clicked
2019-05-18 14:33:41 -04:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Matthias Clasen
2c7e567f05
Update callers
...
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
William Jon McCann
9b81131003
tests: fix volume button
2014-02-13 20:47:24 -05:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Matthias Clasen
585a6652d5
Use G_SOURCE_CONTINUE/REMOVE
...
Now that GLib provides these macros, we should use them
to make the code more readable.
2012-01-30 19:12:27 -05:00
Michael Natterer
260ccdfebe
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-11-02 12:04:35 +09:00
Javier Jardón
c15ef6405c
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 17:37:03 +09:00
Tobias Mueller
dc0dde995d
Removed deprecated call to gtk_scale_button_get_orientation
...
and use gtk_orientable_set_orientation instead.
Fixes bug 581878.
2009-05-11 13:52:16 +02:00
Michael Natterer
b8a2347c45
Bug 442042 – GtkScaleButton is too limited
...
2008-07-21 Michael Natterer <mitch@imendio.com>
Bug 442042 – GtkScaleButton is too limited
* tests/testvolumebutton.c: forgot to commit code that tests
toggling the button's orientation. Also fixes the file's coding
style.
svn path=/trunk/; revision=20882
2008-07-21 12:58:36 +00:00
Matthias Clasen
0afe895ad2
Add a second volume button.
...
2007-10-04 Matthias Clasen <mclasen@redhat.com>
* tests/testvolumebutton.c: Add a second volume button.
* gtk/gtkscalebutton.c: Doh, don't release grabs we don't hold.
(#478371 , reported by Bill Nottingham)
svn path=/trunk/; revision=18881
2007-10-04 12:52:46 +00:00
Bastien Nocera
9477c91842
Add the GtkVolumeButton widget, a button that pops up a scale when clicked
...
2007-05-20 Bastien Nocera <hadess@hadess.net>
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
a button that pops up a scale when clicked (Closes : #415775 )
* tests/Makefile.am:
* tests/testvolumebutton.c: Add a test program for the
volume button
2007-05-20 Bastien Nocera <hadess@hadess.net>
* POTFILES.in: Add volume button to the list
2007-05-20 Bastien Nocera <hadess@hadess.net>
* gtk/gtk-sections.txt: Add the GtkVolumeButton widget
to the docs
svn path=/trunk/; revision=17877
2007-05-19 23:35:00 +00:00