Javier Jardón
1b0d2fcd51
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
2010-09-08 23:42:25 +02:00
Javier Jardón
ca3348f8f1
Do not use deprecated API in docs and examples
...
gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead
2010-09-08 17:10:37 +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
Colin Walters
ae16b31038
Actually build the tutorial if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-09 16:16:48 -04:00
Javier Jardón
ef25dba303
[docs] Remove deprecated gdk_draw_bitmap() and gdk_draw_pixmap()
...
This completes commit 947cde30d9
2010-06-25 18:18:30 +02:00
Javier Jardón
ae8c4b8f7b
[docs] Fix a typo in the tutorial
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=412331
2010-05-20 21:57:56 +02:00
Javier Jardón
9fa9d792a8
Remove GTK_WIDGET_* macros
2010-05-03 01:51:21 +02:00
Javier Jardón
ffd80c80c9
Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
74e6844488
Remove GtkCurve completely
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
e606a4ec2a
Remove remaining GtkWindow deprecated documentation
...
This completes commit 89e3ec8c3d766c333f6e67764ebd7633d61e21cd
2010-05-03 01:49:50 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Claude Paroz
5e22dd4e43
Revert "Make GTK+ Tutorial gnome-doc-utils compliant"
...
This reverts commit 4d1cf25080
.
GTK+ maintainers should first approved the gnome-doc-utils dependency
before this migration.
2010-04-22 21:11:53 +02:00
Claude Paroz
4d1cf25080
Make GTK+ Tutorial gnome-doc-utils compliant
2010-04-22 20:18:32 +02:00
Christian Dywan
652df93594
Remove most G_OBJECT casts in the tutorial
...
This fixes bug 605333.
2010-03-12 21:05:33 +01:00
Christian Dywan
072673c612
Reword explanation of delete-event and destroy
2010-03-12 21:03:35 +01:00
Christian Dywan
325c86f83c
Spell delete-event with hyphen and don't cast to G_OBJECT
2010-03-12 21:02:42 +01: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
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
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
Javier Jardón
fe0324d76a
[docs] Remove GTK+ 1.2 tutorial from master
...
The tutorial it's still inside the gtk-1-2 branch if It's needed
2010-01-12 17:44:50 +01:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Javier Jardón
df9e1c3294
Substitute gtk_widget_ref/unref with g_object_ref/unref
...
Substitute the use of gtk_widget_ref/unref in documentation examples
and in internal gtk+ code
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:57 +02:00
Javier Jardón
b66583f2a5
Substitute gtk_style_unref for g_object_unref in documentation example
...
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:31 +02:00
Javier Jardón
57bc513713
Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions
...
Substitute deprecated reference counting functions for
g_object_ref/unref in documentation and in internal code
https://bugzilla.gnome.org/show_bug.cgi?id=598217
2009-10-14 03:13:52 +02:00
Matthias Clasen
0e04566d54
Update some links in the tutorial
...
This fixes bug 585953.
2009-06-20 20:51:37 -04:00
Behdad Esfahbod
a398c840be
Add git.mk to generate .gitignore files
...
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Ryan Lortie
8250998da8
small fix for "Paned Window Widgets" example
...
2008-12-28 Ryan Lortie <desrt@desrt.ca>
small fix for "Paned Window Widgets" example
* docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than
add_with_viewport for putting a GtkTreeView into a ScrolledWindow
Spotted by Benjamin Herrenschmidt
svn path=/trunk/; revision=21958
2008-12-29 01:00:42 +00:00
Christian Dywan
885dd3ef6a
Fix a typo in the tutorial.
...
2008-09-30 Christian Dywan <christian@imendio.com>
Fix a typo in the tutorial.
* docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
svn path=/trunk/; revision=21549
2008-09-30 01:29:26 +00:00
Cody Russell
57223c9a05
Revert name change
...
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4
Practically everything changed.
...
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
2008-06-30 23:01:56 +00:00
Johan Dahlin
d434ca3deb
Remove an extra space and swap word order ( #518166 , Matt Kraai)
...
2008-03-02 Johan Dahlin <johan@gnome.org>
* docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
(#518166 , Matt Kraai)
svn path=/trunk/; revision=19692
2008-03-03 01:06:16 +00:00
Johan Dahlin
a329e01899
Add a missing space ( #517954 , Matt Kraai)
...
2008-03-02 Johan Dahlin <johan@gnome.org>
* docs/tutorial/gtk-tut.sgml: Add a missing space
(#517954 , Matt Kraai)
svn path=/trunk/; revision=19691
2008-03-03 01:04:26 +00:00
Cody Russell
4ceeea8539
Fix tutorial documentation to say 'gtk_main_quit()' instead of
...
2008-02-29 Cody Russell <bratsche@gnome.org>
* docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908 , Matt Kraai)
svn path=/trunk/; revision=19676
2008-02-29 19:27:16 +00:00
Michael Natterer
64c73a61b7
Remove all .cvsignore files.
...
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
Stefan Kost
85133b2c44
Use gtk_widget_get_parent_window() instead of widget->parent->window.
...
* docs/tutorial/gtk-tut.sgml:
Use gtk_widget_get_parent_window() instead of widget->parent->window.
svn path=/trunk/; revision=19152
2007-12-10 22:18:46 +00:00
15:39:40 Tim Janik
2dc08ada49
call g_test_init() from gtk_test_init().
...
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Tim Janik
529bbe01a7
removed unbalanced tag that broke the XML.
...
Tue May 8 23:06:38 2007 Tim Janik <timj@gtk.org>
* docs/tutorial/gtk-tut.sgml: removed unbalanced tag that broke the XML.
svn path=/trunk/; revision=17802
2007-05-08 21:09:07 +00:00
Tim Janik
154987a539
fixed buglet from #351759 .
...
Thu Aug 17 16:19:35 2006 Tim Janik <timj@imendio.com>
* docs/tutorial/gtk-tut.sgml: fixed buglet from #351759 .
2006-08-17 14:21:41 +00:00
Matthias Clasen
1c5a1bdeba
Remove outdated lists of authors and maintainers. ( #348538 , Owen Taylor)
...
2006-08-05 Matthias Clasen <mclasen@redhat.com>
* docs/tutorial/gtk-tut.sgml: Remove outdated lists of
authors and maintainers. (#348538 , Owen Taylor)
2006-08-06 03:36:57 +00:00
Matthias Clasen
a57035d9d1
Replace "effect" by "affect" where appropriate. ( #165108 , Dan Winship)
...
2005-01-24 Matthias Clasen <mclasen@redhat.com>
* docs/tutorial/gtk-tut.sgml:
* docs/tutorial/gtk_tut.sgml:
* docs/reference/gtk/tmpl/gtkliststore.sgml:
* gtk/gtkactiongroup.c:
* gtk/gtksizegroup.c:
* gtk/gtksizegroup.h:
* gtk/gtktogglebutton.c: Replace "effect" by "affect" where
appropriate. (#165108 , Dan Winship)
2005-01-24 17:42:58 +00:00
Matthias Clasen
44ec61dd97
Re-extract.
...
2005-01-03 Matthias Clasen <mclasen@redhat.com>
* examples/*: Re-extract.
* docs/tutorial/gtk-tut.sgml: Small corrections.
2005-01-03 19:26:36 +00:00
Matthias Clasen
6803d93d38
Some updates for the drawing section. ( #161414 , Robert Ancell)
...
2005-01-03 Matthias Clasen <mclasen@redhat.com>
* docs/tutorial/gtk-tut.sgml: Some updates for the drawing
section. (#161414 , Robert Ancell)
2005-01-03 19:16:20 +00:00
Matthias Clasen
600e5b4721
Make it build.
...
2005-01-03 Matthias Clasen <mclasen@redhat.com>
* docs/tutorial/gtk-tut.sgml: Make it build.
2005-01-03 17:51:38 +00:00
Matthias Clasen
af77a6b707
Clarify section on g_signal_connect_swapped. ( #120543 , David Bourguignon)
...
2005-01-03 Matthias Clasen <mclasen@redhat.com>
* docs/tutorial/gtk-tut.sgml: Clarify section on
g_signal_connect_swapped. (#120543 , David Bourguignon)
2005-01-03 17:07:56 +00:00
Matthias Clasen
c819c45ea8
Remove deprecated functions in examples. ( #129074 , Olexiy Avramchenko)
...
Fri Dec 12 01:13:34 2003 Matthias Clasen <maclas@gmx.de>
* examples/gtkdial/gtkdial.c:
* examples/menu/menu.c:
* examples/scribble-xinput/scribble-xinput.c:
* examples/progressbar/progressbar.c:
* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
in examples. (#129074 , Olexiy Avramchenko)
* examples/calendar/Makefile:
* examples/rangewidgets/Makefile:
* examples/menu/Makefile: Allow deprecated functions in
examples which use deprecated widgets.
2003-12-12 00:16:14 +00:00
Owen Taylor
629a0e1424
Patch from James Henstridge to update to automake-1.7 ( #109542 )
...
Tue May 6 16:50:52 2003 Owen Taylor <otaylor@redhat.com>
Patch from James Henstridge to update to automake-1.7
(#109542 )
* autogen.sh: update to call newer tools.
* configure.in: various updates, to use M4 macros to put
variables that change each release at the top.
Use AC_HELP_STRING to format help strings.
Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
* Makefile.am: require Automake 1.7. Remove gdk-2.0.pc and
gtk+-2.0.pc on uninstall. Pass --enable-gtk-doc to configure
during distcheck.
* docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
makefile fragment.
* */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
Use BUILT_SOURCES where appropriate.
Build generated files in builddir rather than srcdir.
Fix uninstall and distclean targets to satisfy distcheck.
===
* gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
built first, since we are now using BUILT_SOURCES.
* gdk/Makefile.am: Remove an outdated comment about gdk_headers.
* demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
with geninclude.pl.
* configure.in: Update versions to 2.3.0.
2003-05-06 21:55:41 +00:00