Commit Graph

1989 Commits

Author SHA1 Message Date
Javier Jardón
349f8c561d Remove gdk_input_* callbacks on file descriptors deprecated functions
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
2010-06-20 00:46:38 +02:00
Javier Jardón
3c8a54b2f7 Remove GdkWChar deprecated code 2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb Remove deprecated gdk_text_* and gdk_string_* functions
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
0de0914021 Remove gdk_char_* deprecated functions
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
2010-06-20 00:21:51 +02:00
Javier Jardón
4cf4470fcd Remove deprecated GdkDrawable functions
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Matthias Clasen
91268713a0 A forgotten rename 2010-06-18 21:58:19 -04:00
Javier Jardón
36c669aaca [docs] Fix missing comma in gtkrc docs
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621775
2010-06-16 19:51:04 +02:00
Stanislas Marquis
972e75e8b0 [docs] Add 'Since: 2.16' tag to GtkEntryIconPosition
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-16 19:42:24 +02:00
Matthias Clasen
e9fc660d7e Add a variant of gtk_icon_theme_load_symbolic that takes a style
As proposed by Owen in bug 621578 to reduce code duplication.
2010-06-14 23:46:46 -04:00
Cosimo Cecchi
4467145e43 Add a missing accessor for GdkDragContext->source_window. 2010-06-10 16:04:28 +02:00
Stanislas Marquis
09fe6e7d44 [docs] GdkPixmap fix: gdk_pixmap_draw() does not exist.
Using gdk_draw_drawable() instead.
2010-06-10 02:21:13 +02:00
Cosimo Cecchi
4f66b8e37c Add an accessor for GtkViewport->view_window (#621081). 2010-06-09 18:22:35 +02:00
Javier Jardón
b618ca8923 [docs] Added some missing documentation to GdkDnd
The docs was removed by error in commit
9399114802
2010-06-09 06:39:02 +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
ee483ec328 [docs] .gitignore some template files 2010-06-09 06:25:28 +02:00
Matthias Clasen
9399114802 Remove one more gtk-doc template 2010-06-08 21:10:15 -04:00
Matthias Clasen
e17b9f282f Get rid of templates that gtk-doc touches during distcheck
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Matthias Clasen
34deb14eff Fix !srcdir build 2010-06-08 15:37:52 -04:00
Matthias Clasen
1ae257d00a Add GtkApplication
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.

This is based on GApplication.

Future work:
 * Add a way to say "This is my application menubar", which gets
   put into all toplevel windows on non-OS-X, and into the top
   on OS X.
 * Support session management.
 * Support application settings.

https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
Javier Jardón
47f8beb0a6 Remove gdkx_colormap_get() deprecated function 2010-06-07 04:37:06 +02:00
Javier Jardón
2ace397eb5 Remove deprecatedd code from GdkColor
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Matthias Clasen
14118a5697 Add a few missing symbols 2010-06-04 16:14:52 -04:00
Matthew Barnes
bb5c585777 Bug 596428 - GtkAssistant: Support ending with a progress page
- Add gtk_assistant_commit()

  This function discards the visited pages list so the back button is not
  shown on the current page, and removes the cancel button from subsequent
  pages.  Use this when information provided thus far cannot be revisited.

- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
  the last page (according to the forward page function).

- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
9fbfbda8cc Remove indices for 2.x additions 2010-06-03 01:23:13 -04:00
Matthias Clasen
700196f71e Update documentation for orientables
Don't document these as abstract anymore, since they are now
instantiatable.
2010-06-03 01:18:42 -04:00
Matthias Clasen
d93b99a273 Remove old migration docs
This information will still be available in the 2.22 docs.
For 3.0, we'll do sortof a clean start.
2010-06-03 01:09:53 -04:00
Matthias Clasen
c557f7b7c4 Improved icon view keynav
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Javier Jardón
e51f02ce67 [docs] Add GTK+3 migration guide 2010-05-29 19:37:57 +02:00
Javier Jardón
d91c0d38c6 [docs] Remove deprecated documentation 2010-05-27 05:16:15 +02:00
Javier Jardón
da25f8f89d [docs] Move some widgets: they are not abstract now 2010-05-26 19:09:14 +02:00
Javier Jardón
019563c322 Remove gdk_*et_use_xshm() deprecated functions 2010-05-26 05:18:05 +02:00
Matthias Clasen
473b7aa6a2 2.90.1 2010-05-25 22:57:46 -04:00
Matthias Clasen
7164d71abf Some more devicegroup purging 2010-05-25 22:12:51 -04:00
Matthias Clasen
c7a48881c6 Documentation fixes 2010-05-25 19:27:42 -04:00
Matthias Clasen
f5e21ceb00 Some additions 2010-05-25 19:18:06 -04:00
Matthias Clasen
86ba6378cd Remove duplicates 2010-05-25 19:03:16 -04:00
Matthias Clasen
b4e2ff3da3 Make orientable base classes instantiable
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
2010-05-25 18:55:15 -04:00
Matthias Clasen
bd4609b140 Merge the xi2-for-master branch 2010-05-25 18:38:44 -04:00
Javier Jardón
0c6565e1d3 Fix typo in previous patch 2010-05-25 20:48:59 +02:00
Matthias Clasen
b5ae99bf19 Add indexes
Add an index for 2.22 api additions, and one for 3.0.
2010-05-25 12:21:13 -04:00
Matthias Clasen
ebbadf3709 Add some leftover symbols 2010-05-25 12:01:04 -04:00
Matthias Clasen
50a72eda2d Seal gdk
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580.
2010-05-25 12:01:04 -04:00
Matthias Clasen
067fe4b05d Some additions 2010-05-25 10:24:53 -04:00
Javier Jardón
cc8dcf738a Remove deprecated GtkToolbar code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Matthias Clasen
54093354e4 Clean up man page handling 2010-05-21 22:41:35 -04:00
Matthias Clasen
7652c2b3e0 Remove long-obsolete docs
There are no traces of GDK_USE_XFT, GXID_HOST or GXID_PORT in the
code anymore.
2010-05-21 22:14:46 -04:00
Matthias Clasen
747c834f27 Document GSEAL_ENABLE with other preprocessor symbols. 2010-05-21 22:07:46 -04:00
Javier Jardón
280b01a8db Move documentation to inline comments: GtkRecentChooserDialog 2010-05-21 04:15:02 +02:00
Javier Jardón
98cee5e6e2 Move documentation to inline comments: GtkRecentChooserMenu 2010-05-21 03:19:02 +02:00
Javier Jardón
2f28e88dea Move documentation to inline comments: GtkRange 2010-05-21 03:09:43 +02:00
Javier Jardón
68701c828c Move documentation to inline comments: GtkRadioButton 2010-05-20 00:42:50 +02:00
John (J5) Palmieri
85b53969b2 [PATCH] add the binding friendly join_group method to GtkRadioAction
* Due to object ownership issues it is impossible to correctly use
  get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
  GtkRadioAction objects and not with the list of objects that gets
  modified in the library
2010-05-19 15:16:46 -04: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
dfa9214681 Move documentation to inline comments: GtkRecentChooser 2010-05-18 18:16:35 +02:00
Matthias Clasen
735bee47be Let query utilities update the cache file directly
This is much more convenient for packagers than having to
redirect the output into the cache file, and much less error-prone.
2010-05-17 22:58:25 -04:00
Matthias Clasen
0b0f176ac4 Move the module cache files below libdir
These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
2010-05-17 21:30:46 -04:00
Javier Jardón
98e773d93d Move documentation to inline comments: GtkSeparatorToolItem 2010-05-16 02:39:50 +02:00
Javier Jardón
19448b9712 Move documentation to inline comments: GtkPrinter 2010-05-16 02:11:16 +02:00
Javier Jardón
b00a09de11 Move documentation to inline comments: GtkTreeView drag-and-drop 2010-05-16 02:04:12 +02:00
Javier Jardón
56d7417fcc Move documentation to inline comments: GtkRecentChooserWidget 2010-05-16 01:58:06 +02:00
Javier Jardón
885b6d8a75 Move documentation to inline comments: GtkStyle 2010-05-16 01:37:36 +02:00
Javier Jardón
f121a502f9 Move documentation to inline comments: GtkSeparatorMenuItem 2010-05-16 00:40:11 +02:00
Javier Jardón
08bd42cf8d Move documentation to inline comments: GtkScaleButton 2010-05-16 00:32:05 +02:00
Javier Jardón
8e06ef4f63 Move documentation to inline comments: GtkRadioAction 2010-05-16 00:26:22 +02:00
Javier Jardón
bddf455874 Move documentation to inline comments: GtkRecentAction 2010-05-16 00:20:53 +02:00
Javier Jardón
b2f5af3fb0 Remove deprecated functions from GDK docs 2010-05-14 18:36:59 +02:00
Javier Jardón
618d15e991 Remove deprecated gdk_window_get_toplevels() function 2010-05-14 18:18:10 +02:00
Tadej Borovšak
ff61948d13 Move documentation to inline comments: GdkWindow
Use examples/gdk to store documentation code examples.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618498

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-05-14 17:11:51 +02:00
Javier Jardón
157d618d6b Move documentation to inline comments: GtkObject 2010-05-13 19:39:44 +02:00
Javier Jardón
1205012cb4 Fix doc generation: rename gdk-overrides.txt to gdk3-overrides
Also, remove unnneded *-overrides files
Patch by Tadej Borovšak
2010-05-13 05:02:59 +02:00
Javier Jardón
95bb12ee66 Move documentation to inline comments: GtkOrientable 2010-05-13 03:35:02 +02:00
Javier Jardón
8319585673 Move documentation to inline comments: GtkToggleAction 2010-05-13 03:23:30 +02:00
Javier Jardón
45434cc699 Move documentation to inline comments: GtkPageSetupUnixDialog 2010-05-13 01:26:10 +02:00
Javier Jardón
e59f1a64c1 Move documentation to inline comments: GtkSeparator 2010-05-13 01:26:09 +02:00
Javier Jardón
c4bb15a4f2 Move documentation to inline comments: GtkTextIter 2010-05-13 01:26:09 +02:00
Javier Jardón
c477b2fa0b Move documentation to inline comments: GtkToolItem 2010-05-13 01:26:09 +02:00
Javier Jardón
2b64a7fd54 Remove some deprecated stuff from GdkWindow
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
c6a789998a Remove deprecated gdk_exit() function 2010-05-12 03:44:07 +02:00
Matthias Clasen
a376adbcea Try to fix up man page handling 2010-05-11 15:09:16 -04:00
Javier Jardón
d9bb439c89 Remove deprecated GtkObject macros
Remove GTK_OBJECT_TYPE() and GTK_OBJECT_TYPE_NAME(),
G_OBJECT_TYPE() and G_OBJECT_TYPE_NAME() should be used instead.
2010-05-11 17:01:36 +02:00
Matthias Clasen
4b7e72b3a8 Make the docs parallel installable 2010-05-10 20:06:10 -04:00
Bastien Nocera
4551509af1 Make it easy for apps to have dark themes
Some types of applications would benefit from having "dark" themes,
usually black backgrounds, such as:
* Movie players
* Photo management and display applications

To make it easy for those applications to prefer a dark theme,
we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
will make the theme loading code automatically look for a "gtkrc-dark"
file in the same directory you would usually find a gtkrc file.
the same name and a "-dark" suffix.

If no "-dark" gtkrc variant is available, the normal gtkrc will
be used.

https://bugzilla.gnome.org/show_bug.cgi?id=617955
2010-05-10 01:15:14 +01:00
Javier Jardón
b76557e944 [docs] Fix GdkColor description: blue and green colors are changed
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
2010-05-10 01:57:22 +02:00
Matthias Clasen
41d36aef3c remove some deprecated parts from the docs 2010-05-08 01:46:02 -04:00
Matthias Clasen
7447ef0fc2 Make 3.0 parallel-installable to 2.x
In particular, rename

  - libraries to lib*-3.0.so
  - pc files to *-3.0.pc
  - include paths to /usr/include/gtk-3.0/*
  - module paths to /usr/lib/gtk-3.0/*
  - rc files names to gtk-3.0/gtkrc
  - commandline utilities to *-3.0
  - adjust documentation

Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
2f6b88ff48 Clean up docs, disable testtext for now. 2010-05-07 00:04:57 -04:00
Matthias Clasen
77d4d3cdae Merge branch 'gtk-2-90'
Conflicts:
	gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
Javier Jardón
7692a427a6 Added api to reset the im context in GtkTextView and GtkEntry
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:14:28 +02:00
John (J5) Palmieri
33194ff5f4 add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
* get_indices does not return a length so we can not annotate it to return an
  array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
  parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
  number of integers in the array
* in a GI binding this returns the native array type for the bound language
  (e.g. in PyGI this returns a list of integers)
2010-05-03 12:47:38 -04:00
Javier Jardón
0e79972d24 Remove GtkTreeItem completely 2010-05-03 01:51:23 +02:00
Javier Jardón
d7786d4a9e Remove GtkTree completely 2010-05-03 01:51:23 +02:00
Javier Jardón
0669d8d6e9 Remove GtkText completely 2010-05-03 01:51:23 +02:00
Javier Jardón
9a4e3371e2 Remove GtkTooltips completely 2010-05-03 01:51:23 +02:00
Javier Jardón
3d6b45f7d2 Remove GtkOptionMenu completely 2010-05-03 01:51:23 +02:00
Javier Jardón
623966b6da Remove all gtk_draw_* deprecated functions completely 2010-05-03 01:51:23 +02:00
Javier Jardón
eb3efdf242 Remove gtk_color_selection_set_update_policy() completely 2010-05-03 01:51:23 +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
55e3fa8d34 Remove GtkCtree documentation 2010-05-03 01:51:21 +02:00
Javier Jardón
32697682cc Remove GtkOldEditable completely 2010-05-03 01:51:21 +02:00