forked from AuroraMiddleware/gtk
2.11.0
svn path=/trunk/; revision=17903
This commit is contained in:
parent
30e97fc117
commit
6921206dd8
@ -1,5 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
2007-05-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
6
INSTALL
6
INSTALL
@ -4,7 +4,7 @@ Prerequisites
|
||||
GTK+ requires the following packages:
|
||||
|
||||
- The GLib, Pango, ATK and cairo libraries, available at the same
|
||||
location as GTK+. GTK+ 2.10.2 requires at least GLib 2.12,
|
||||
location as GTK+. GTK+ 2.11.0 requires at least GLib 2.12,
|
||||
Pango 1.13, ATK 1.9 and cairo 1.2.
|
||||
|
||||
- The TIFF, PNG, and JPEG image loading libraries. You most
|
||||
@ -20,8 +20,8 @@ GTK+ requires the following packages:
|
||||
Simple install procedure
|
||||
========================
|
||||
|
||||
% gzip -cd gtk+-2.10.2.tar.gz | tar xvf - # unpack the sources
|
||||
% cd gtk+-2.10.2 # change to the toplevel directory
|
||||
% gzip -cd gtk+-2.11.0.tar.gz | tar xvf - # unpack the sources
|
||||
% cd gtk+-2.11.0 # change to the toplevel directory
|
||||
% ./configure # run the `configure' script
|
||||
% make # build GTK+
|
||||
[ Become root if necessary ]
|
||||
|
42
README
42
README
@ -1,7 +1,7 @@
|
||||
General Information
|
||||
===================
|
||||
|
||||
This is GTK+ version 2.10.2. GTK+ is a multi-platform toolkit for
|
||||
This is GTK+ version 2.11.0. GTK+ is a multi-platform toolkit for
|
||||
creating graphical user interfaces. Offering a complete set of widgets,
|
||||
GTK+ is suitable for projects ranging from small one-off projects to
|
||||
complete application suites.
|
||||
@ -27,6 +27,27 @@ Installation
|
||||
See the file 'INSTALL'
|
||||
|
||||
|
||||
Release notes for 2.12
|
||||
======================
|
||||
|
||||
* Functions: gtk_about_dialog_get/set_name() were deprecated in favour of
|
||||
gtk_about_dialog_get/set_program_name(), the GtkAboutDialog now uses the
|
||||
"program-name" property instead of the conflicting "name" property.
|
||||
|
||||
* The tiff loader now requires libtiff 3.6.0 or later.
|
||||
|
||||
* Support for Windows 9x/ME has officially been removed. It hasn't worked
|
||||
since 2.6 anyway.
|
||||
|
||||
* The GtkTextBufferTargetInfo enumeration values have been changed from
|
||||
G_MAXUINT-0, G_MAXUINT-1, G_MAXUINT-2, etc, to -1, -2, -3 to stay within
|
||||
ANSI C limits.
|
||||
|
||||
* A change in the handling of _NET_WM_USER_TIME properties on toplevel
|
||||
windows can cause deadlock problems with window managers that are using
|
||||
GDK for drawing decorations. In particular, metacity <= 2.18.0 is affected
|
||||
by this. The problem has been fixed in metacity 2.18.1.
|
||||
|
||||
Release notes for 2.10
|
||||
======================
|
||||
|
||||
@ -126,7 +147,7 @@ Release notes for 2.8
|
||||
Release notes for 2.6
|
||||
=====================
|
||||
|
||||
* GTK+ 2.6 supports clipboard persistence. To make use of this feature,
|
||||
* GTK+ 2.6 supports clipboard persistency. To make use of this feature,
|
||||
a clipboard manager following the specification at
|
||||
http://www.freedesktop.org/wiki/Standards/clipboard-manager-spec
|
||||
must be running. A sample implementation of such a clipboard manager
|
||||
@ -137,11 +158,11 @@ Release notes for 2.6
|
||||
|
||||
* Notification on clipboard ownership changes via GdkOwnerChange events
|
||||
requires the XFIXES X extension. Applications can use the function
|
||||
gdk_display_supports_selection_notification() to find out if ownership
|
||||
gdk_display_supports_selection_notification() to find out if ownerchip
|
||||
change notification is available.
|
||||
|
||||
* The icon theme code in GTK+ 2.6 follows the freedesktop.org icon theme
|
||||
specification. Setting the XDG_DATA_DIRS environment variable may be
|
||||
specification. Setting the XDG_DATA_DIRS environtment variable may be
|
||||
necessary if your icons aren't installed in the default location
|
||||
/usr/share/icons.
|
||||
|
||||
@ -151,7 +172,7 @@ Release notes for 2.6
|
||||
see the gtk-update-icon-cache man page or the GTK+ documentation.
|
||||
|
||||
* To reduce code size and improve efficiency, GTK+, when compiled
|
||||
with the GNU tool chain, has separate internal and external entry
|
||||
with the GNU toolchain, has separate internal and external entry
|
||||
points for exported functions. The internal names, which begin with
|
||||
IA__, may be seen when debugging a GTK+ program.
|
||||
|
||||
@ -179,7 +200,7 @@ Release notes for 2.6
|
||||
compatibility are provided.
|
||||
|
||||
* On Unix, the assumption of GLib and GTK+ by default is that filenames on
|
||||
the file system are encoded in UTF-8 rather than the encoding of the locale;
|
||||
the filesystem are encoded in UTF-8 rather than the encoding of the locale;
|
||||
the GTK+ developers consider that having filenames whose interpretation
|
||||
depends on the current locale is fundamentally a bad idea.
|
||||
|
||||
@ -197,7 +218,7 @@ Release notes for 2.6
|
||||
|
||||
On Windows, filenames passed to GTK+ should always be in UTF-8, as
|
||||
in GLib 2.6. This is different than in previous versions of GTK+
|
||||
where the system code page was used. As in GLib, for DLL ABI
|
||||
where the system codepage was used. As in GLib, for DLL ABI
|
||||
stability, applications built against previous versions of GTK+ will
|
||||
use entry points providing the old semantics.
|
||||
|
||||
@ -233,7 +254,7 @@ In the bug report please include:
|
||||
that can be downloaded.
|
||||
|
||||
* If the bug was a crash, the exact text that was printed out when the
|
||||
crash occurred.
|
||||
crash occured.
|
||||
|
||||
* Further information such as stack traces may be useful, but is not
|
||||
necessary. If you do send a stack trace, and the error is an X error,
|
||||
@ -251,7 +272,8 @@ report.
|
||||
Otherwise, enter a new bug report that describes the patch, and attach
|
||||
the patch to that bug report.
|
||||
|
||||
Bug reports containing patches that add to or change the GTK+ programming
|
||||
interface should include the API keyword in their keyword fields.
|
||||
Bug reports containing patches should include the PATCH keyword in their
|
||||
keyword fields. If the patch adds to or changes the GTK+ programming
|
||||
interface, the API keyword should also be included.
|
||||
|
||||
Patches should be in unified diff form. (The -u option to GNU diff.)
|
||||
|
16
README.in
16
README.in
@ -34,11 +34,23 @@ Release notes for 2.12
|
||||
gtk_about_dialog_get/set_program_name(), the GtkAboutDialog now uses the
|
||||
"program-name" property instead of the conflicting "name" property.
|
||||
|
||||
* The tiff loader now requires libtiff 3.6.0 or later.
|
||||
|
||||
* Support for Windows 9x/ME has officially been removed. It hasn't worked
|
||||
since 2.6 anyway.
|
||||
|
||||
* The GtkTextBufferTargetInfo enumeration values have been changed from
|
||||
G_MAXUINT-0, G_MAXUINT-1, G_MAXUINT-2, etc, to -1, -2, -3 to stay within
|
||||
ANSI C limits.
|
||||
|
||||
* A change in the handling of _NET_WM_USER_TIME properties on toplevel
|
||||
windows can cause deadlock problems with window managers that are using
|
||||
GDK for drawing decorations. In particular, metacity <= 2.18.0 is affected
|
||||
by this. The problem has been fixed in metacity 2.18.1.
|
||||
|
||||
Release notes for 2.10
|
||||
======================
|
||||
|
||||
* The tiff loader now requires libtiff 3.6.0 or later.
|
||||
|
||||
* The hexadecimal Unicode input feature has been reworked. It no longer
|
||||
blocks the use of the sixteen Ctrl-Shift-<hex digit> key sequences. Now
|
||||
it only uses Ctrl-Shift-u.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
2006-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf-xlib.c: Apply a cleanup patch by
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
2007-05-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtk-sections.txt:
|
||||
|
@ -289,3 +289,12 @@ The colormap structure contains the following public fields.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_color_to_string ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@color:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
@ -308,3 +308,49 @@ gdk_threads_enter()/gdk_threads_leave().
|
||||
@leave_fn:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_threads_add_idle ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@function:
|
||||
@data:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_threads_add_idle_full ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@priority:
|
||||
@function:
|
||||
@data:
|
||||
@notify:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_threads_add_timeout ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@interval:
|
||||
@function:
|
||||
@data:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gdk_threads_add_timeout_full ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@priority:
|
||||
@interval:
|
||||
@function:
|
||||
@data:
|
||||
@notify:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
@ -531,6 +531,12 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### ARG GtkAboutDialog:name ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### STRUCT GtkAccelEntry ##### -->
|
||||
<para>
|
||||
This is a private struct used by GTK+ internally, don't worry about it.
|
||||
@ -626,6 +632,12 @@ Define a function pointer. Deprecated.
|
||||
|
||||
@parent:
|
||||
|
||||
<!-- ##### ARG GtkCellView:use-fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### ARG GtkColorSelection:previous-alpha ##### -->
|
||||
<para>
|
||||
|
||||
@ -2070,6 +2082,14 @@ Sets the default size of child buttons.
|
||||
|
||||
@Returns:
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_get_use_fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_view:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_set_cell_data ##### -->
|
||||
<para>
|
||||
|
||||
@ -2078,6 +2098,14 @@ Sets the default size of child buttons.
|
||||
@cell_view:
|
||||
@cellview:
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_set_use_fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_view:
|
||||
@use_fg:
|
||||
|
||||
<!-- ##### FUNCTION gtk_clist_construct ##### -->
|
||||
<para>
|
||||
Initializes a previously allocated #GtkCList widget for use. This should not
|
||||
|
@ -98,7 +98,7 @@ only private fields and should not be directly accessed.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkAboutDialog:name ##### -->
|
||||
<!-- ##### ARG GtkAboutDialog:program-name ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
@ -154,6 +154,24 @@ only private fields and should not be directly accessed.
|
||||
@name:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_about_dialog_get_program_name ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@about:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_about_dialog_set_program_name ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@about:
|
||||
@name:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_about_dialog_get_version ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -246,6 +246,15 @@ and should not be accessed directly.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_action_create_menu ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@action:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_action_connect_proxy ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -50,6 +50,7 @@ of the attribute for each cell that is rendered.
|
||||
@set_cell_data_func:
|
||||
@clear_attributes:
|
||||
@reorder:
|
||||
@get_cells:
|
||||
|
||||
<!-- ##### USER_FUNCTION GtkCellLayoutDataFunc ##### -->
|
||||
<para>
|
||||
@ -84,6 +85,15 @@ as appropriate.
|
||||
@expand:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_layout_get_cells ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_layout:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_layout_reorder ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -62,7 +62,6 @@ probably has a selection colored background to render to.
|
||||
@GTK_CELL_RENDERER_INSENSITIVE: The cell is drawn in an insensitive manner
|
||||
@GTK_CELL_RENDERER_SORTED: The cell is in a sorted row
|
||||
@GTK_CELL_RENDERER_FOCUSED:
|
||||
@GTK_CELL_RENDERER_USE_FG:
|
||||
|
||||
<!-- ##### ENUM GtkCellRendererMode ##### -->
|
||||
<para>
|
||||
|
@ -28,6 +28,11 @@ The #GtkCellRendererProgress cell renderer was added in GTK+ 2.6.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### ARG GtkCellRendererProgress:pulse ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellRendererProgress:text ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -46,29 +46,6 @@ and drag and drop.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkCellView:use-fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_get_use_fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_view:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_set_use_fg ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@cell_view:
|
||||
@use_fg:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_cell_view_new ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -63,6 +63,14 @@ gtk_combo_box_get_active_text().
|
||||
@combobox: the object which received the signal.
|
||||
@arg1:
|
||||
|
||||
<!-- ##### SIGNAL GtkComboBox::popdown ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@combobox: the object which received the signal.
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkComboBox::popup ##### -->
|
||||
<para>
|
||||
|
||||
@ -130,6 +138,11 @@ gtk_combo_box_get_active_text().
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkComboBox:shadow-type ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_combo_box_new ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -69,10 +69,10 @@ constraints on an entry in a #GtkTargetTable.
|
||||
@GTK_TARGET_SAME_WIDGET:
|
||||
If this is set, the target will only be selected
|
||||
for drags within a single widget.
|
||||
@GTK_TARGET_OTHER_APP:
|
||||
@GTK_TARGET_OTHER_APP:
|
||||
If this is set, the target will not be selected
|
||||
for drags within a single application. Since 2.12
|
||||
@GTK_TARGET_OTHER_WIDGET:
|
||||
@GTK_TARGET_OTHER_WIDGET:
|
||||
If this is set, the target will not be selected
|
||||
for drags withing a single widget. Since 2.12
|
||||
|
||||
|
@ -156,6 +156,11 @@ The #GtkEntry-struct struct contains only private data.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkEntry:shadow-type ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkEntry:text ##### -->
|
||||
<para>
|
||||
|
||||
@ -240,7 +245,6 @@ Prepends the given text to the contents of the widget.
|
||||
instead.
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_set_position ##### -->
|
||||
<para>
|
||||
Sets the cursor position in an entry to the given
|
||||
@ -505,3 +509,21 @@ use gtk_editable_set_editable() instead.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_set_cursor_hadjustment ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@entry:
|
||||
@adjustment:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_get_cursor_hadjustment ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@entry:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
@ -60,6 +60,16 @@ The GtkEntryCompletion struct contains only private data.
|
||||
@entrycompletion: the object which received the signal.
|
||||
@arg1:
|
||||
|
||||
<!-- ##### SIGNAL GtkEntryCompletion::cursor-on-match ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@entrycompletion: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkEntryCompletion::insert-prefix ##### -->
|
||||
<para>
|
||||
|
||||
@ -84,6 +94,11 @@ The GtkEntryCompletion struct contains only private data.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkEntryCompletion:inline-selection ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkEntryCompletion:minimum-key-length ##### -->
|
||||
<para>
|
||||
|
||||
@ -202,6 +217,15 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
|
||||
@completion:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_completion_get_completion_prefix ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@completion:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_completion_insert_prefix ##### -->
|
||||
<para>
|
||||
|
||||
@ -275,6 +299,24 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_completion_set_inline_selection ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@completion:
|
||||
@inline_selection:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_completion_get_inline_selection ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@completion:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_entry_completion_set_popup_completion ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -84,6 +84,7 @@ contains. (See also: #GtkVButtonBox and #GtkHButtonBox).
|
||||
left for a HBox, or the top for a VBox).
|
||||
@GTK_BUTTONBOX_END: Buttons are grouped towards the end of a box, (on the
|
||||
right for a HBox, or the bottom for a VBox).
|
||||
@GTK_BUTTONBOX_CENTER:
|
||||
|
||||
<!-- ##### ENUM GtkCornerType ##### -->
|
||||
<para>
|
||||
|
@ -57,6 +57,13 @@ This should not be accessed directly. Use the accessor functions below.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SIGNAL GtkFileChooserButton::file-set ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@filechooserbutton: the object which received the signal.
|
||||
|
||||
<!-- ##### ARG GtkFileChooserButton:dialog ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -99,33 +99,32 @@ void create_file_selection (void) {
|
||||
The #GtkFileSelection struct contains the following #GtkWidget fields:
|
||||
</para>
|
||||
|
||||
@fileop_dialog: the dialog box used to display the #GtkFileSelection.
|
||||
It can be customized by adding/removing widgets from it using the
|
||||
standard #GtkDialog functions.
|
||||
@dir_list:
|
||||
@file_list:
|
||||
@selection_entry:
|
||||
@selection_text:
|
||||
@main_vbox:
|
||||
@ok_button:
|
||||
@cancel_button: the two main buttons that signals should be connected
|
||||
to in order to perform an action when the user hits either OK or
|
||||
Cancel.
|
||||
@help_button:
|
||||
@history_pulldown: the #GtkOptionMenu used to create the drop-down
|
||||
directory history.
|
||||
@history_menu:
|
||||
@history_list:
|
||||
@fileop_dialog: the dialog box used to display the #GtkFileSelection.
|
||||
It can be customized by adding/removing widgets from it using the
|
||||
standard #GtkDialog functions.
|
||||
@fileop_entry:
|
||||
@fileop_file:
|
||||
@cmpl_state:
|
||||
@fileop_c_dir:
|
||||
@fileop_del_file:
|
||||
@fileop_ren_file: the buttons that appear at the top of the file
|
||||
selection dialog. These "operation buttons" can be hidden and
|
||||
redisplayed with gtk_file_selection_hide_fileop_buttons() and
|
||||
gtk_file_selection_show_fileop_buttons() respectively.
|
||||
|
||||
@dir_list:
|
||||
@file_list:
|
||||
@selection_entry:
|
||||
@selection_text:
|
||||
@main_vbox:
|
||||
@help_button:
|
||||
@history_menu:
|
||||
@history_list:
|
||||
@fileop_entry:
|
||||
@fileop_file:
|
||||
@cmpl_state:
|
||||
@button_area:
|
||||
@action_area:
|
||||
|
||||
|
@ -137,6 +137,7 @@ gtk_icon_theme_set_custom_theme().
|
||||
@GTK_ICON_LOOKUP_NO_SVG:
|
||||
@GTK_ICON_LOOKUP_FORCE_SVG:
|
||||
@GTK_ICON_LOOKUP_USE_BUILTIN:
|
||||
@GTK_ICON_LOOKUP_GENERIC_FALLBACK:
|
||||
|
||||
<!-- ##### MACRO GTK_ICON_THEME_ERROR ##### -->
|
||||
<para>
|
||||
@ -256,6 +257,18 @@ The #GQuark used for #GtkIconThemeError errors.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_icon_theme_choose_icon ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@icon_theme:
|
||||
@icon_names:
|
||||
@size:
|
||||
@flags:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_icon_theme_load_icon ##### -->
|
||||
<para>
|
||||
|
||||
@ -269,6 +282,15 @@ The #GQuark used for #GtkIconThemeError errors.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_icon_theme_list_contexts ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@icon_theme:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_icon_theme_list_icons ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -46,6 +46,7 @@ will be a popup menu allowing the users to switch pages.
|
||||
|
||||
@notebook: the object which received the signal.
|
||||
@arg1:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkNotebook::focus-tab ##### -->
|
||||
<para>
|
||||
@ -99,6 +100,7 @@ will be a popup menu allowing the users to switch pages.
|
||||
@notebook: the object which received the signal.
|
||||
@arg1:
|
||||
@Param3:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkNotebook::select-page ##### -->
|
||||
<para>
|
||||
@ -123,6 +125,11 @@ Emitted when the user or a function changes the current page.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkNotebook:group ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkNotebook:group-id ##### -->
|
||||
<para>
|
||||
|
||||
@ -685,6 +692,24 @@ gtk_notebook_set_current_page() instead.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_notebook_set_group ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@notebook:
|
||||
@group:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_notebook_get_group ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@notebook:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GtkNotebookWindowCreationFunc ##### -->
|
||||
<para>
|
||||
A function used by GtkNotebook when a detachable tab is dropped
|
||||
|
@ -249,3 +249,45 @@ Printing support was added in GTK+ 2.10.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_page_setup_new_from_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@file_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_page_setup_new_from_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@key_file:
|
||||
@group_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_page_setup_to_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@setup:
|
||||
@file_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_page_setup_to_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@setup:
|
||||
@key_file:
|
||||
@group_name:
|
||||
|
||||
|
||||
|
@ -157,6 +157,15 @@ Name for the Legal paper size.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_paper_size_get_paper_sizes ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@include_custom:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_paper_size_get_name ##### -->
|
||||
<para>
|
||||
|
||||
@ -272,3 +281,24 @@ Name for the Legal paper size.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_paper_size_new_from_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@key_file:
|
||||
@group_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_paper_size_to_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@size:
|
||||
@key_file:
|
||||
@group_name:
|
||||
|
||||
|
||||
|
@ -51,6 +51,11 @@ on all platforms supported by GTK+.
|
||||
|
||||
@plug: the object which received the signal.
|
||||
|
||||
<!-- ##### ARG GtkPlug:embedded ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_plug_construct ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
@ -213,6 +213,15 @@ Printing support was added in GTK+ 2.10.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_printer_list_papers ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@printer:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_printer_compare ##### -->
|
||||
<para>
|
||||
|
||||
@ -223,6 +232,32 @@ Printing support was added in GTK+ 2.10.
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_printer_has_details ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@printer:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_printer_request_details ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@printer:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_printer_get_capabilities ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@printer:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GtkPrinterFunc ##### -->
|
||||
<para>
|
||||
The type of function passed to gtk_enumerate_printers().
|
||||
|
@ -303,6 +303,7 @@ A value of this type is returned by gtk_print_operation_run().
|
||||
@GTK_PRINT_ERROR_GENERAL:
|
||||
@GTK_PRINT_ERROR_INTERNAL_ERROR:
|
||||
@GTK_PRINT_ERROR_NOMEM:
|
||||
@GTK_PRINT_ERROR_INVALID_FILE:
|
||||
|
||||
<!-- ##### MACRO GTK_PRINT_ERROR ##### -->
|
||||
<para>
|
||||
|
@ -861,3 +861,45 @@ only "file://" URIs.
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_print_settings_new_from_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@file_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_print_settings_new_from_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@key_file:
|
||||
@group_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_print_settings_to_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@settings:
|
||||
@file_name:
|
||||
@error:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_print_settings_to_key_file ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@settings:
|
||||
@key_file:
|
||||
@group_name:
|
||||
|
||||
|
||||
|
@ -95,6 +95,7 @@ only be accessed using the functions below.
|
||||
@scrolledwindow: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### ARG GtkScrolledWindow:hadjustment ##### -->
|
||||
<para>
|
||||
@ -136,6 +137,11 @@ only be accessed using the functions below.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkScrolledWindow:scrollbars-within-bevel ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### FUNCTION gtk_scrolled_window_new ##### -->
|
||||
<para>
|
||||
Creates a new scrolled window. The two arguments are the scrolled
|
||||
|
@ -33,6 +33,11 @@ Sharing settings between applications
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-alternative-sort-arrows ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-button-images ##### -->
|
||||
<para>
|
||||
|
||||
@ -93,11 +98,21 @@ Sharing settings between applications
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-enable-accels ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-enable-animations ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-enable-mnemonics ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-entry-password-hint-timeout ##### -->
|
||||
<para>
|
||||
|
||||
@ -118,6 +133,11 @@ Sharing settings between applications
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-file-chooser-backend ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-font-name ##### -->
|
||||
<para>
|
||||
|
||||
@ -183,6 +203,16 @@ Sharing settings between applications
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-print-backends ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-print-preview-command ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-scrolled-window-placement ##### -->
|
||||
<para>
|
||||
|
||||
@ -233,6 +263,21 @@ Sharing settings between applications
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-tooltip-browse-mode-timeout ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-tooltip-browse-timeout ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-tooltip-timeout ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkSettings:gtk-touchscreen-mode ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -45,6 +45,7 @@ recorded at the time it was added. This is done using gtk_statusbar_remove().
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Stability_Level ##### -->
|
||||
|
||||
|
||||
@ -60,8 +61,8 @@ below.
|
||||
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@text:
|
||||
|
||||
<!-- ##### SIGNAL GtkStatusbar::text-pushed ##### -->
|
||||
@ -70,7 +71,7 @@ below.
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@context_id:
|
||||
@text:
|
||||
|
||||
<!-- ##### ARG GtkStatusbar:has-resize-grip ##### -->
|
||||
@ -97,7 +98,7 @@ below.
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_description:
|
||||
@context_description:
|
||||
@Returns:
|
||||
|
||||
|
||||
@ -106,10 +107,10 @@ below.
|
||||
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@text:
|
||||
@Returns:
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@text:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_statusbar_pop ##### -->
|
||||
@ -118,7 +119,7 @@ below.
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@context_id:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_statusbar_remove ##### -->
|
||||
@ -126,9 +127,9 @@ below.
|
||||
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@message_id:
|
||||
@statusbar:
|
||||
@context_id:
|
||||
@message_id:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_statusbar_set_has_resize_grip ##### -->
|
||||
@ -136,7 +137,7 @@ below.
|
||||
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@statusbar:
|
||||
@setting:
|
||||
|
||||
|
||||
@ -145,7 +146,7 @@ below.
|
||||
|
||||
</para>
|
||||
|
||||
@statusbar:
|
||||
@Returns:
|
||||
@statusbar:
|
||||
@Returns:
|
||||
|
||||
|
||||
|
@ -78,6 +78,11 @@ on Win32 doesn't allow to embed arbitrary widgets.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkStatusIcon:embedded ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkStatusIcon:file ##### -->
|
||||
<para>
|
||||
|
||||
@ -88,6 +93,11 @@ on Win32 doesn't allow to embed arbitrary widgets.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkStatusIcon:orientation ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkStatusIcon:pixbuf ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -784,7 +784,7 @@ serialized with gtk_text_buffer_serialize(), and insert it at @iter.
|
||||
@user_data: user data that was specified when registering the format
|
||||
@error: return location for a #GError
|
||||
@Returns: %TRUE on success, %FALSE otherwise
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_text_buffer_deserialize ##### -->
|
||||
<para>
|
||||
|
@ -52,6 +52,11 @@ planned to be implemented in future releases.
|
||||
@arg2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### ARG GtkTextTag:accumulative-margin ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkTextTag:background ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -142,6 +142,13 @@ types related to the text widget and how they work together.
|
||||
@arg1:
|
||||
@arg2:
|
||||
|
||||
<!-- ##### SIGNAL GtkTextView::toggle-cursor-visible ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@textview: the object which received the signal.
|
||||
|
||||
<!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -197,6 +197,16 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
|
||||
@widget: the object which received the signal.
|
||||
@drag_context:
|
||||
|
||||
<!-- ##### SIGNAL GtkWidget::drag-failed ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkWidget::drag-leave ##### -->
|
||||
<para>
|
||||
|
||||
@ -445,6 +455,18 @@ a widget changes from un-anchored to anchored or vice-versa.
|
||||
@event:
|
||||
@Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
|
||||
|
||||
<!-- ##### SIGNAL GtkWidget::query-tooltip ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget: the object which received the signal.
|
||||
@arg1:
|
||||
@arg2:
|
||||
@arg3:
|
||||
@arg4:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### SIGNAL GtkWidget::realize ##### -->
|
||||
<para>
|
||||
|
||||
@ -644,6 +666,11 @@ a widget changes from un-anchored to anchored or vice-versa.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWidget:has-tooltip ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWidget:height-request ##### -->
|
||||
<para>
|
||||
|
||||
@ -684,6 +711,11 @@ a widget changes from un-anchored to anchored or vice-versa.
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWidget:tooltip-markup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWidget:visible ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -144,6 +144,11 @@ Toplevel which can contain other widgets
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWindow:opacity ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWindow:resizable ##### -->
|
||||
<para>
|
||||
|
||||
@ -169,6 +174,11 @@ Toplevel which can contain other widgets
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWindow:startup-id ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
<!-- ##### ARG GtkWindow:title ##### -->
|
||||
<para>
|
||||
|
||||
@ -800,6 +810,24 @@ Deprecated alias for gtk_window_set_position().
|
||||
@setting:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_set_startup_id ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@window:
|
||||
@startup_id:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_set_role ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@window:
|
||||
@role:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_window_get_decorated ##### -->
|
||||
<para>
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
2007-05-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf.symbols: Add missing scaled-anim entries.
|
||||
|
123
gdk/gdkmedialib.c
Normal file
123
gdk/gdkmedialib.c
Normal file
@ -0,0 +1,123 @@
|
||||
/* GDK - The GIMP Drawing Kit
|
||||
* Copyright (C) 2001-2007 Sun Microsystems, Inc. All rights reserved.
|
||||
* (Brian Cameron, Dmitriy Demin, James Cheng, Padraig O'Briain)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified by the GTK+ Team and others 1997-2007. See the AUTHORS
|
||||
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||
* files for a list of changes. These files are distributed with
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SYS_SYSTEMINFO_H)
|
||||
#include <sys/systeminfo.h>
|
||||
#elif defined(HAVE_SYS_SYSINFO_H)
|
||||
#include <sys/sysinfo.h>
|
||||
#endif
|
||||
|
||||
#include "gdkmedialib.h"
|
||||
|
||||
typedef char * (*ml_version) (void);
|
||||
|
||||
static ml_version medialib_version = mlib_version;
|
||||
|
||||
gboolean
|
||||
_gdk_use_medialib (void)
|
||||
{
|
||||
char *mlib_version_string;
|
||||
char sys_info[257];
|
||||
long count;
|
||||
|
||||
/*
|
||||
* Sun mediaLib(tm) support.
|
||||
*
|
||||
* http://www.sun.com/processors/vis/mlib.html
|
||||
*
|
||||
*/
|
||||
if (getenv ("GDK_DISABLE_MEDIALIB"))
|
||||
return FALSE;
|
||||
|
||||
/*
|
||||
* The imaging functions we want to use were added in mediaLib version 2.
|
||||
* So turn off mediaLib support if the user has an older version.
|
||||
* mlib_version returns a string in this format:
|
||||
*
|
||||
* mediaLib:0210:20011101:v8plusa
|
||||
* ^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^
|
||||
* libname vers build ISALIST identifier
|
||||
* date (in this case sparcv8plus+vis)
|
||||
*
|
||||
* The first 2 digits of the version are the major version. The 3rd digit
|
||||
* is the minor version, and the 4th digit is the micro version. So the
|
||||
* above string corresponds to version 2.1.0.In the following test we only
|
||||
* care about the major version.
|
||||
*/
|
||||
mlib_version_string = medialib_version ();
|
||||
|
||||
count = sysinfo (SI_ARCHITECTURE, &sys_info[0], 257);
|
||||
|
||||
if (count != -1)
|
||||
{
|
||||
if (strcmp (sys_info, "i386") == 0)
|
||||
{
|
||||
char *mlib_target_isa = &mlib_version_string[23];
|
||||
|
||||
/*
|
||||
* For x86 processors mediaLib generic C implementation
|
||||
* does not give any performance advantage so disable it.
|
||||
*/
|
||||
if (strncmp (mlib_target_isa, "sse", 3) != 0)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* For x86 processors use of libumem conflicts with
|
||||
* mediaLib, so avoid using it.
|
||||
*/
|
||||
if ((dlsym (RTLD_DEFAULT, "umem_alloc") != NULL) ||
|
||||
(dlsym (RTLD_PROBE, "umem_alloc") != NULL) ||
|
||||
(dlsym (RTLD_NEXT, "umem_alloc") != NULL) ||
|
||||
(dlsym (RTLD_SELF, "umem_alloc") != NULL))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Failed to get system architecture, disable mediaLib */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
45
gdk/gdkmedialib.h
Normal file
45
gdk/gdkmedialib.h
Normal file
@ -0,0 +1,45 @@
|
||||
/* GDK - The GIMP Drawing Kit
|
||||
* Copyright (C) 2001-2007 Sun Microsystems, Inc. All rights reserved.
|
||||
* (Brian Cameron, Dmitriy Demin, James Cheng, Padraig O'Briain)
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
||||
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||
* files for a list of changes. These files are distributed with
|
||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#ifndef __GDK_MEDIALIB_H__
|
||||
#define __GDK_MEDIALIB_H__
|
||||
|
||||
#ifdef USE_MEDIALIB
|
||||
#include <mlib_image.h>
|
||||
#include <mlib_video.h>
|
||||
|
||||
#include <gdktypes.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
gboolean _gdk_use_medialib (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* USE_MEDIALIB */
|
||||
#endif /* __GDK_MEDIALIB_H__ */
|
||||
|
@ -1181,6 +1181,7 @@ EXTRA_DIST += \
|
||||
makefile.msc \
|
||||
makefile.msc.in \
|
||||
makegtkalias.pl \
|
||||
aliasfilescheck.sh \
|
||||
abicheck.sh \
|
||||
pltcheck.sh
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
2007-04-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmimeglob.c (_xdg_glob_hash_insert_text): Duplicate the
|
||||
|
@ -1,3 +1,7 @@
|
||||
2007-05-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.11.0 ===
|
||||
|
||||
2007-05-23 Rhys Jones <rhys@sucs.org>
|
||||
|
||||
* cy.po: Updated Welsh translation.
|
||||
|
2319
po-properties/af.po
2319
po-properties/af.po
File diff suppressed because it is too large
Load Diff
2247
po-properties/am.po
2247
po-properties/am.po
File diff suppressed because it is too large
Load Diff
4622
po-properties/ang.po
4622
po-properties/ang.po
File diff suppressed because it is too large
Load Diff
3059
po-properties/ar.po
3059
po-properties/ar.po
File diff suppressed because it is too large
Load Diff
2302
po-properties/az.po
2302
po-properties/az.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2302
po-properties/be.po
2302
po-properties/be.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3098
po-properties/bg.po
3098
po-properties/bg.po
File diff suppressed because it is too large
Load Diff
3318
po-properties/bn.po
3318
po-properties/bn.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2250
po-properties/br.po
2250
po-properties/br.po
File diff suppressed because it is too large
Load Diff
2304
po-properties/bs.po
2304
po-properties/bs.po
File diff suppressed because it is too large
Load Diff
3314
po-properties/ca.po
3314
po-properties/ca.po
File diff suppressed because it is too large
Load Diff
2302
po-properties/cs.po
2302
po-properties/cs.po
File diff suppressed because it is too large
Load Diff
3050
po-properties/cy.po
3050
po-properties/cy.po
File diff suppressed because it is too large
Load Diff
2304
po-properties/da.po
2304
po-properties/da.po
File diff suppressed because it is too large
Load Diff
3104
po-properties/de.po
3104
po-properties/de.po
File diff suppressed because it is too large
Load Diff
9606
po-properties/dz.po
9606
po-properties/dz.po
File diff suppressed because it is too large
Load Diff
2306
po-properties/el.po
2306
po-properties/el.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3087
po-properties/eo.po
3087
po-properties/eo.po
File diff suppressed because it is too large
Load Diff
3324
po-properties/es.po
3324
po-properties/es.po
File diff suppressed because it is too large
Load Diff
3341
po-properties/et.po
3341
po-properties/et.po
File diff suppressed because it is too large
Load Diff
2313
po-properties/eu.po
2313
po-properties/eu.po
File diff suppressed because it is too large
Load Diff
2272
po-properties/fa.po
2272
po-properties/fa.po
File diff suppressed because it is too large
Load Diff
3114
po-properties/fi.po
3114
po-properties/fi.po
File diff suppressed because it is too large
Load Diff
2311
po-properties/fr.po
2311
po-properties/fr.po
File diff suppressed because it is too large
Load Diff
2240
po-properties/ga.po
2240
po-properties/ga.po
File diff suppressed because it is too large
Load Diff
2313
po-properties/gl.po
2313
po-properties/gl.po
File diff suppressed because it is too large
Load Diff
2298
po-properties/gu.po
2298
po-properties/gu.po
File diff suppressed because it is too large
Load Diff
3050
po-properties/he.po
3050
po-properties/he.po
File diff suppressed because it is too large
Load Diff
2293
po-properties/hi.po
2293
po-properties/hi.po
File diff suppressed because it is too large
Load Diff
2307
po-properties/hr.po
2307
po-properties/hr.po
File diff suppressed because it is too large
Load Diff
3538
po-properties/hu.po
3538
po-properties/hu.po
File diff suppressed because it is too large
Load Diff
2244
po-properties/hy.po
2244
po-properties/hy.po
File diff suppressed because it is too large
Load Diff
2240
po-properties/ia.po
2240
po-properties/ia.po
File diff suppressed because it is too large
Load Diff
2306
po-properties/id.po
2306
po-properties/id.po
File diff suppressed because it is too large
Load Diff
2286
po-properties/is.po
2286
po-properties/is.po
File diff suppressed because it is too large
Load Diff
3050
po-properties/it.po
3050
po-properties/it.po
File diff suppressed because it is too large
Load Diff
2306
po-properties/ja.po
2306
po-properties/ja.po
File diff suppressed because it is too large
Load Diff
2476
po-properties/ka.po
2476
po-properties/ka.po
File diff suppressed because it is too large
Load Diff
2296
po-properties/ko.po
2296
po-properties/ko.po
File diff suppressed because it is too large
Load Diff
2234
po-properties/ku.po
2234
po-properties/ku.po
File diff suppressed because it is too large
Load Diff
2302
po-properties/li.po
2302
po-properties/li.po
File diff suppressed because it is too large
Load Diff
3320
po-properties/lt.po
3320
po-properties/lt.po
File diff suppressed because it is too large
Load Diff
2302
po-properties/lv.po
2302
po-properties/lv.po
File diff suppressed because it is too large
Load Diff
2237
po-properties/mi.po
2237
po-properties/mi.po
File diff suppressed because it is too large
Load Diff
2302
po-properties/mk.po
2302
po-properties/mk.po
File diff suppressed because it is too large
Load Diff
3501
po-properties/ml.po
3501
po-properties/ml.po
File diff suppressed because it is too large
Load Diff
2343
po-properties/mn.po
2343
po-properties/mn.po
File diff suppressed because it is too large
Load Diff
2360
po-properties/mr.po
2360
po-properties/mr.po
File diff suppressed because it is too large
Load Diff
2305
po-properties/ms.po
2305
po-properties/ms.po
File diff suppressed because it is too large
Load Diff
2306
po-properties/nb.po
2306
po-properties/nb.po
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user