Commit Graph

452 Commits

Author SHA1 Message Date
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