Benjamin Otte
9972a1813e
testgtk: Simplify code
...
Use a for loop for iterating.
2011-09-28 05:29:50 +02:00
Benjamin Otte
114541359f
testgtk: Switch scrolled windows example from GtkTable to GtkGrid
2011-09-28 05:29:50 +02:00
Benjamin Otte
26974640f8
testgtk: Convert radio/check button examples from GtkTable to GtkGrid
2011-09-28 05:29:50 +02:00
Benjamin Otte
2d885120bc
testgtk: Convert buttons example from GtkTable to GtkGrid
2011-09-28 05:29:50 +02:00
Benjamin Otte
e214aec3cf
testgtk: Beautify buttons example
2011-09-28 05:29:50 +02:00
Benjamin Otte
c25f2c4728
testgtk: Convert big windows example from GtkTable to GtkGrid
2011-09-28 05:29:50 +02:00
Benjamin Otte
06440b40e2
testgtk: Upgrade alpha windows test from GtkTable to GtkGrid
...
Also fix some extra code.
2011-09-28 05:29:50 +02:00
Diego Celix
173cc862a1
testgtk: gtk_misc_set_alignment replacing
...
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
tests/testgtk.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
2011-08-28 20:17:04 -04:00
Matthias Clasen
2462019449
testgtk: remove dead code
2011-08-15 19:40:24 -04:00
Matthias Clasen
37167ec458
Make this code more meaningful
2011-06-14 21:18:08 -04:00
Benjamin Otte
6114b06b3b
testgtk: Fix deprecation
2011-06-09 06:20:42 +02:00
Matthias Clasen
d8b3bfe778
Use separators instead of hseparators
2011-06-07 21:29:01 -04:00
Matthias Clasen
c134446230
Use boxes instead of hboxes
2011-06-07 19:56:27 -04:00
Matthias Clasen
682296391f
tests: Use boxes instead of vboxes
2011-06-07 18:39:15 -04:00
Javier Jardón
32ef28bc85
Replace gtk_misc_set_padding() with GtkWidget:margin properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=651605
2011-06-02 18:49:54 +02:00
Javier Jardón
e5c7daa828
tests: avoid boxed structs copying where possible
...
Use the GtkStyleContext accessors for boxed properties where possible,
to reduce allocations.
2011-05-31 19:12:24 +02:00
Javier Jardón
fb3c16b7ad
tests/testgtk.c: Fix crash in cursor test
...
This was introduced in
commit ac4c12ff60
2011-05-02 18:20:23 +01:00
Benjamin Otte
e8c6dbfab1
testgtk: right-justify menuitem by using expand/align flags
...
gtk_menu_item_set_right_justify() is about to be deprecated and this
thing should work. (Note: should, because I didn't implemented it yet.)
2011-05-02 16:57:12 +02:00
Javier Jardón
ac4c12ff60
tests: Use gtk_box_new() instead v/h subclasses
2011-04-22 14:44:02 +01:00
Benjamin Otte
616e6d1565
testgtk: Make it possible to stop the progressbar from updating
...
This way, I can check that my invalidation fixes actually work.
2011-04-14 14:59:24 +02:00
Benjamin Otte
5acd15d21b
tests: Make test_init() not check for gdk-pixbuf anymore
...
gdk-pixbuf is system-installed these days.
2011-03-29 15:33:27 +02:00
Javier Jardón
b1a0a08d94
testgtk: Fix compilation warning
2011-02-13 14:21:12 +00:00
Matthias Clasen
d05d924516
Silence more compiler warnings
2011-02-12 08:01:51 -05:00
Benjamin Otte
cf94070586
testgtk: Remove ability to reload all rc files
...
That ability didn't work for a while anyway, so removing client messages
doesn't hurt.
2011-02-01 06:33:02 +01:00
Benjamin Otte
e1cb1b89d8
testgtk: Update adjustment usage for sealing
2011-01-05 23:50:22 +01:00
Benjamin Otte
3d3358b561
testgtk: Rename "adj" variables to "adjustment"
2011-01-05 23:50:22 +01:00
Benjamin Otte
c43a31ea33
API: range: Remove update policy
...
It's unused and complicates code a lot. In particular, it breaks the
adjustment/range abstractions.
2011-01-05 14:30:58 +01:00
Benjamin Otte
e4cc259111
testgtk: Don't use deprecated APIs
2010-12-27 19:43:24 +01:00
Benjamin Otte
7ab7422821
testgtk: Use the relevant device to query the widget to snapshot
...
Also gets rid of deprecated functions.
2010-12-27 19:27:16 +01:00
Matthias Clasen
bde1d072e5
Don't use gdk_{pointer,keyboard}_grab
...
Instead use gdk_device_grab.
2010-12-24 20:00:19 -05:00
Benjamin Otte
73d8ffd74f
testgtk: Use g_object_unref instead of gdk_cursor_unref
2010-12-21 12:07:05 -05:00
Javier Jardón
7105e8e907
tests: Use accessor functions to access GtkSelectionData
2010-12-15 23:58:15 +00:00
Carlos Garnacho
8c02445bc5
testgtk: Fix gdk_rgba_parse() arguments.
2010-12-04 15:39:58 +01:00
Matthias Clasen
757837b611
Make tests compile without using GtkStyle api
2010-12-04 15:39:46 +01:00
Carlos Garnacho
5bf9f8c410
testgtk: Try to locate the right file.
2010-12-04 15:39:09 +01:00
Carlos Garnacho
37f9f491d2
Make testgtk load CSS for custom styling.
2010-12-04 15:39:07 +01:00
Benjamin Otte
e0fb7a86e5
gtk: Remove GtkRuler
...
It is really bad code, mostly unused and no one stepped up to fix it.
Note that Gtk developers do not object to a ruler widget in priciple,
just to the current implementation. If someone wants to propose a sane
version, please don't hesitate.
https://bugzilla.gnome.org/show_bug.cgi?id=613942
2010-11-24 16:56:10 +01:00
Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Javier Jardón
570b90e218
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
217036975a
Use gtk_scale_new() instead gtk_[v|h]scale_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
8177ad320e
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
f00f120fd7
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
8d008790be
Use gtk_separator_new() instead gtk_[v|h]separator_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
e31304fb7b
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
2010-10-30 02:26:23 +02:00
Vincent Untz
4f9f52a6ea
Port tests to GtkScrollable API instead of deprecated GtkLayout API
...
https://bugzilla.gnome.org/show_bug.cgi?id=633374
2010-10-28 12:18:28 -04:00
Javier Jardón
49c409c498
tests: use accessor functions to access GtkToogleButton
2010-10-26 05:02:19 +02:00
Alberto Garcia
d6a73fd5b0
Assign all g_signal_connect() and friends to gulong variables
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
2010-10-22 18:58:47 +02:00
Christian Dywan
6db62c6617
Use new GtkComboBoxEntry in all tests
2010-10-18 09:13:44 +02:00
Javier Jardón
e7f51ef6a4
Use the new GtkComboBoxText API
...
Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.
2010-10-15 16:58:27 -04:00
Tristan Van Berkom
9612c64817
Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
...
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
later commit.
2010-10-13 21:52:27 -04:00
Owen W. Taylor
88cf547029
Fix handling of the geometry widget
...
The geometry widget feature of gtk_window_set_geometry_hints() has
never really worked right because the calculation that GTK+ did to
compute the base size of the window only worked when the geometry
widget had a larger minimum size than anything else in the window.
Setup:
* Move the GtkSizeGroup private functions to a new private header
gtksizegroup-private.h
* Add the possibilty to pass flags to _gtk_size_group_queue_resize(),
with the flag GTK_QUEUE_RESIZE_INVALIDATE_ONLY to suppress adding
the widget's toplevel to the resize queue.
* _gtk_container_resize_invalidate() is added to implement that feature
* _gtk_widget_override_size_request()/_gtk_widget_restore_size_request()
allow temporarily forcing a large minimum size on the geometry
widget without creating resize loops.
GtkWindow:
* Compute the extra width/height around the geometry widget
correctly; print a warning if the computation fails.
* Always make the minimum size at least the natural minimum
size of the toplevel; GTK+ now fails badly with underallocation.
* Always set the base size hint; we were failing to set it
properly when the specified minimum size was overriden, but
it's harmless to always set it.
Tests:
* New test 'testgeometry' that replaces the 'gridded geometry' test
from testgtk. The new test is roughly similar but creates a bunch
of windows showing different possibilities.
* The testgtk test is removed. No need to have both.
https://bugzilla.gnome.org/show_bug.cgi?id=68668
2010-10-11 14:05:29 -04:00
Benjamin Otte
2a1650843d
Revert "testgtk: Remove snapshot test"
...
This reverts commit 99c82af20a
and fixes
up things to compile again. Of course, the snapshotting now uses
gtk_widget_draw() instead.
2010-10-05 23:22:55 +02:00
Javier Jardón
b072ea220c
Remove unneded casts
...
As gtk_adjustment_new() returns a GtkAdjustment* now
https://bugzilla.gnome.org/show_bug.cgi?id=630731
2010-09-29 01:18:10 +02:00
Javier Jardón
42f480a537
gtk_adjustment_new() should return a GtkAdjustment*
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=630731
2010-09-29 01:18:10 +02:00
Benjamin Otte
bf81be51eb
testgtk: Use gtk_widget_set_visual()
2010-09-28 19:11:46 +02:00
Tristan Van Berkom
e4a0a39a56
Fixing tests/ build for removal of GtkObject type.
2010-09-27 15:10:23 +09:00
Matthias Clasen
f53ad33994
Remove GtkObject completely
2010-09-26 22:18:19 -04:00
Javier Jardón
3b8184cfee
Move classes that currently derive from GtkObject to GInitiallyUnowned
2010-09-26 22:18:13 -04:00
Benjamin Otte
d9c9259861
Move GtkSizeRequest into GtkWidget
...
It doesn't make sense to keep them separate as GtkSizeRequest requires a
GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
one without the other.
It also makes the code a lot easier because no casts are required when
calling functions.
Also, the names would translate to gtk_widget_get_width() and people
agreed that this would be a too generic name, so a "preferred" was added
to the names.
So this patch moves the functions:
gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
gtk_size_request_get_width() => gtk_widget_get_preferred_width()
gtk_size_request_get_height() => gtk_widget_get_preferred_height()
gtk_size_request_get_size() => gtk_widget_get_preferred_size()
gtk_size_request_get_width_for_height() =>
gtk_widget_get_preferred_width_for_height()
gtk_size_request_get_height_for_width() =>
gtk_widget_get_preferred_height_for_width()
... and moves the corresponding vfuncs to the GtkWidgetClass.
The patch also renames the implementations of the vfuncs in widgets to
include the word "preferrred".
2010-09-26 15:11:45 +02:00
Benjamin Otte
15497825c0
testgtk: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
Benjamin Otte
e194bc14fd
testgtk: Use draw signal in layout test
2010-09-26 15:11:42 +02:00
Benjamin Otte
5442f5b9f2
testgtk: Use draw signal in scrolling test
2010-09-26 15:11:42 +02:00
Benjamin Otte
0ab6956579
testgtk: Use draw signal in cursors example
2010-09-26 15:11:41 +02:00
Benjamin Otte
87940287aa
testgtk: Remove non-existing property from frame constructor
2010-09-26 15:11:41 +02:00
Benjamin Otte
38c932ace6
testgtk: Use draw signal in gridded geometry example
2010-09-26 15:11:41 +02:00
Benjamin Otte
c42f6ff4bf
testgtk: Make big windows test not use expose events
...
Instead, use gdk_window_set_background().
2010-09-26 15:11:41 +02:00
Benjamin Otte
e1571a5936
testgtk: Use draw signal in resize grips example
2010-09-26 15:11:41 +02:00
Benjamin Otte
b8ebcdd0e0
testgtk: Connect to draw signal in "rotated text" example
2010-09-26 15:11:41 +02:00
Benjamin Otte
7af767333e
testgtk: Connect to draw signals in "composited window" example
2010-09-26 15:11:41 +02:00
Benjamin Otte
ec604d11ec
testgtk: Connect to draw signal in alpha test
...
Test still behaves weird, no idea why though.
2010-09-26 15:11:41 +02:00
Benjamin Otte
fc52c9daf3
testgtk: Check visual, not colormap for RGBA availability
2010-09-26 15:11:32 +02:00
Benjamin Otte
d7ede44dae
testgtk: gtk_widget_set_colormap() => gtk_window_set_visual()
2010-09-26 15:11:32 +02:00
Benjamin Otte
08e6fc11ad
testgtk: Don't set colormap when creating GDK windows
2010-09-26 15:11:31 +02:00
Benjamin Otte
a38472c139
testgtk: No need to set a custom colourmap here
2010-09-26 15:11:31 +02:00
Benjamin Otte
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
Benjamin Otte
99c82af20a
testgtk: Remove snapshot test
...
gtk_widget_get_snapshot is on its way out.
The test can be added back once we have gtk_widget_draw(), but until
then, there's no way to take snapshots.
2010-09-26 15:04:02 +02:00
Benjamin Otte
806a7239ae
widget: shape_combine_mask => shape_cobine_region
...
Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.
Includes code to fix up the users.
2010-09-26 15:02:59 +02:00
Benjamin Otte
dceb149ca4
testgtk: Convert WM hints example to use gdk_window_set_icon_list()
...
gdk_window_set_icon() is about to go away.
Also removes the circles.xbm file and uses the oncluded openfile logo
instead.
2010-09-26 15:02:59 +02:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
2010-09-15 03:02:58 +02:00
Tor Lillqvist
dd36afc207
Don't use the same name for a function that used to be a variable
...
Rename the gtk_major_version() etc functions I introduced yesterday to
start with gtk_get. Avoids misleading results in client programs whose
developers that don't notice the change or the compiler warnings, and
when recompiling against gtk3 then use the function addresses as the
version numbers.
2010-09-09 11:06:26 +03:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
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.
2010-09-08 18:51:44 -04:00
Tor Lillqvist
cb24bcc613
Turn the gtk version and age variables into functions
...
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
2010-09-08 21:31:33 +03:00
Matthias Clasen
76b21033f9
Adapt tests to dialog api change
2010-09-02 09:31:54 -04:00
Matthias Clasen
6b5672c199
Remove now unused GtkProgressBarOrientation enum
2010-09-01 23:30:21 -04:00
Matthias Clasen
3302f22da2
Adapt testgtk progressbar test to api changes
2010-09-01 23:26:19 -04:00
Javier Jardón
a0e0c9e89c
tests/testgtk.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:41 +02:00
Javier Jardón
252a8fc048
tests/testgtk.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:03 +02:00
Benjamin Otte
aaf70d1327
testgtk: Use Cairo to load XBM image
...
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
Benjamin Otte
de285edc72
testgtk: Use Pixbufs in the shapes example
2010-08-10 21:02:31 +02:00
Benjamin Otte
2513636877
testgtk: Rename pixmap => pixbuf in various places
...
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
Benjamin Otte
6b19815f87
testgtk: Use pixbufs instead of pixmaps
...
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
Benjamin Otte
ad571a3a5e
testgtk: Make image test not use Pixmaps, but Pixbufs
2010-08-10 21:02:31 +02:00
Benjamin Otte
727122b8d6
testgtk: Fix types and get rid of casting
2010-08-10 21:02:31 +02:00
Benjamin Otte
c661eb73a1
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-10 21:02:27 +02:00
Benjamin Otte
a513bdf3f7
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
Benjamin Otte
e0efb8798a
testgtk: Remove unused variable
2010-07-26 16:42:48 +02:00
Benjamin Otte
e8bf80ebea
testgtk: Draw rotated text example with pangocairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
8630657324
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
17bd528df5
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-07-26 16:42:48 +02:00
Benjamin Otte
58ef2afdfa
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-07-26 16:42:48 +02:00
Benjamin Otte
6d4bae5ccc
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Javier Jardón
bf976cc1e4
Use accessor functions to access GtkStatusbar
2010-07-13 19:40:50 +02:00
Javier Jardón
c17dad9d32
Use accessor functions to access GtkSpinButton
2010-07-13 19:40:50 +02:00
Javier Jardón
92a1382bd6
Use accessor functions to access GtkPaned
2010-07-13 19:40:49 +02:00
Javier Jardón
fbf1de72c4
Use accessor funtions to access GtkLayout
2010-07-13 19:40:48 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Javier Jardón
d562611660
Use accessor functions to access GtkNotebook
2010-07-13 17:50:48 +02:00
Christian Dywan
04c54efe5c
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:49:53 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
901105766e
Do not use deprecated GtkNoteBook api in testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
7065c566a3
Remove deprecated GtkProgress functionality from testgtk
2010-05-03 01:51:23 +02:00
Christian Dywan
7ccd787f04
Don't set child-min-width/ height in the button box test
...
This is not a property. The feature was removed.
2010-05-03 01:51:23 +02:00
Christian Dywan
786b5774e3
Revert accidental removal of book pixmap strings
2010-05-03 01:51:23 +02:00
Christian Dywan
09c84a006f
Remove unused dump_accels() function from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
0c0976be1d
Remove GtkTipsQuery demo from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1dabde28ac
Don't use gtk_widget_set_uposition/size in testgtk
...
Use gtk_window_move and gtk_widget_set_size_request instead.
2010-05-03 01:51:22 +02:00
Christian Dywan
646b417c20
Remove unused text helper functions from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
6536ad7299
Use new 2.14 GtkColorSelection API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
eaf3ccfba0
Replace GtkFileSelection with GtkFileChooser in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
c30e1865d8
Use GtkComboBoxEntry for the display list in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
36c3426efb
Use GtkComboBoxEntry in entry test in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
81c8fcb72b
Declare book_open/closed_xpm in testgtk notebook
2010-05-03 01:51:22 +02:00
Christian Dywan
a927f1f17d
Remove item factory test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
e0602fd6a8
Remove obsolete GtkText test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
2f70bb98cb
Remove obsolete GtkTree test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1eefd43961
Use an array and new toolbar API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
274395063a
Replace option menus in testgtk with combo boxes
2010-05-03 01:51:22 +02:00
Christian Dywan
63131903ad
Use new progress bar API in testgtk progress test
2010-05-03 01:51:22 +02:00
Christian Dywan
3b721ea9c9
Use a tree view in testgtk selection target test
2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0
Remove deprecated GtkTooltips
2010-05-03 01:51:21 +02:00
Javier Jardón
04a548a463
Removed a call to a recently removed test function
...
The function was a test of the deprecated GtkList
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b
Remove GtkGammaCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
20342702f4
Remove gtkmain stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
c9dae4c600
Remove deprecated code: GtkCheckMenuItem
2010-05-03 01:48:45 +02:00
Christian Dywan
a42886d81d
Remove GtkCList, GtkCTree, GtkFileSelection and GtkPreeview tests
2010-05-03 01:39:50 +02:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +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
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