Commit cf9f0b77 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

to compare pattern specs, use g_pattern_spec_equal() instead of direct

Sat Oct 13 07:09:30 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
        specs, use g_pattern_spec_equal() instead of direct field accesses.
        upon compressing two equal paths of the same type, the resulting
        priority has to be the maximum.
        * gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
        GtkPathPriorityType enum and make it a macro.
parent 05113772
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
specs, use g_pattern_spec_equal() instead of direct field accesses.
upon compressing two equal paths of the same type, the resulting
priority has to be the maximum.
* gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
GtkPathPriorityType enum and make it a macro.
2001-10-12 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkwidget.c: Fix some doc comments.
......
......@@ -20,30 +20,11 @@ Animated images.
#GdkPixbufLoader
</para>
<!-- ##### ENUM GdkPixbufFrameAction ##### -->
<para>
</para>
@GDK_PIXBUF_FRAME_RETAIN:
@GDK_PIXBUF_FRAME_DISPOSE:
@GDK_PIXBUF_FRAME_REVERT:
<!-- ##### STRUCT GdkPixbufFrame ##### -->
<para>
</para>
@pixbuf:
@x_offset:
@y_offset:
@delay_time:
@elapsed:
@action:
@need_recomposite:
@bg_transparent:
@composited:
@revert:
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
<para>
......@@ -51,6 +32,12 @@ Animated images.
</para>
<!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
<para>
</para>
<!-- ##### FUNCTION gdk_pixbuf_animation_new_from_file ##### -->
<para>
......@@ -96,3 +83,68 @@ Animated images.
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_get_iter ##### -->
<para>
</para>
@animation:
@start_time:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_is_static_image ##### -->
<para>
</para>
@animation:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_get_static_image ##### -->
<para>
</para>
@animation:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_advance ##### -->
<para>
</para>
@iter:
@current_time:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_delay_time ##### -->
<para>
</para>
@iter:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_on_currently_loading_frame ##### -->
<para>
</para>
@iter:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_animation_iter_get_pixbuf ##### -->
<para>
</para>
@iter:
@Returns:
......@@ -82,16 +82,19 @@ Creating a pixbuf from image data that is already in memory.
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_new_from_stream ##### -->
<!-- ##### FUNCTION gdk_pixbuf_new_from_inline ##### -->
<para>
</para>
@stream_length:
@stream:
@copy_pixels:
@error:
@data_length:
@data:
@copy_pixels:
@error:
@Returns:
<!-- # Unused Parameters # -->
@inline_pixbuf:
@length:
<!-- ##### FUNCTION gdk_pixbuf_new_subpixbuf ##### -->
......
......@@ -365,6 +365,15 @@ XlibRGB
@obj: A GTK+ object.
<!-- ##### ENUM GdkPixbufFrameAction ##### -->
<para>
</para>
@GDK_PIXBUF_FRAME_RETAIN:
@GDK_PIXBUF_FRAME_DISPOSE:
@GDK_PIXBUF_FRAME_REVERT:
<!-- ##### USER_FUNCTION GdkPixbufLastUnref ##### -->
<para>
A function of this type can be used to override the default
......@@ -552,14 +561,14 @@ End:
</para>
<!-- ##### FUNCTION gdk_pixbuf_new_from_inline ##### -->
<!-- ##### FUNCTION gdk_pixbuf_new_from_stream ##### -->
<para>
</para>
@inline_pixbuf:
@stream_length:
@stream:
@copy_pixels:
@length:
@error:
@Returns:
......@@ -152,3 +152,13 @@ End:
-->
<!-- ##### FUNCTION gdk_pixbuf_get_option ##### -->
<para>
</para>
@pixbuf:
@key:
@Returns:
......@@ -19,44 +19,41 @@ Functions for inlined pixbuf handling.
</para>
@magic:
@length:
@pixdata_type:
@rowstride:
@width:
@height:
@pixel_data:
@magic:
@length:
@pixdata_type:
@rowstride:
@width:
@height:
@pixel_data:
<!-- ##### ENUM GdkPixdataType ##### -->
<para>
</para>
@GDK_PIXDATA_COLOR_TYPE_RGB:
@GDK_PIXDATA_COLOR_TYPE_RGBA:
@GDK_PIXDATA_COLOR_TYPE_MASK:
@GDK_PIXDATA_SAMPLE_WIDTH_8:
@GDK_PIXDATA_SAMPLE_WIDTH_MASK:
@GDK_PIXDATA_ENCODING_RAW:
@GDK_PIXDATA_ENCODING_RLE:
@GDK_PIXDATA_ENCODING_MASK:
@GDK_PIXDATA_COLOR_TYPE_RGB:
@GDK_PIXDATA_COLOR_TYPE_RGBA:
@GDK_PIXDATA_COLOR_TYPE_MASK:
@GDK_PIXDATA_SAMPLE_WIDTH_8:
@GDK_PIXDATA_SAMPLE_WIDTH_MASK:
@GDK_PIXDATA_ENCODING_RAW:
@GDK_PIXDATA_ENCODING_RLE:
@GDK_PIXDATA_ENCODING_MASK:
<!-- ##### ENUM GdkPixdataDumpType ##### -->
<para>
</para>
@GDK_PIXDATA_DUMP_PIXDATA_STREAM:
@GDK_PIXDATA_DUMP_PIXDATA_STRUCT:
@GDK_PIXDATA_DUMP_MACROS:
@GDK_PIXDATA_DUMP_GTYPES:
@GDK_PIXDATA_DUMP_CTYPES:
@GDK_PIXDATA_DUMP_STATIC:
@GDK_PIXDATA_DUMP_CONST:
@GDK_PIXDATA_DUMP_RLE_DECODER:
@GDK_PIXDATA_DUMP_PIXDATA_STREAM:
@GDK_PIXDATA_DUMP_PIXDATA_STRUCT:
@GDK_PIXDATA_DUMP_MACROS:
@GDK_PIXDATA_DUMP_GTYPES:
@GDK_PIXDATA_DUMP_CTYPES:
@GDK_PIXDATA_DUMP_STATIC:
@GDK_PIXDATA_DUMP_CONST:
@GDK_PIXDATA_DUMP_RLE_DECODER:
<!-- ##### MACRO GDK_PIXBUF_MAGIC_NUMBER ##### -->
<para>
......@@ -64,21 +61,23 @@ Functions for inlined pixbuf handling.
</para>
<!-- ##### MACRO GDK_PIXDATA_HEADER_LENGTH ##### -->
<para>
</para>
<!-- ##### FUNCTION gdk_pixdata_from_pixbuf ##### -->
<para>
</para>
@pixdata:
@pixbuf:
@use_rle:
@Returns:
@pixdata:
@pixbuf:
@use_rle:
@Returns:
<!-- ##### FUNCTION gdk_pixbuf_from_pixdata ##### -->
......@@ -86,10 +85,10 @@ Functions for inlined pixbuf handling.
</para>
@pixdata:
@copy_pixels:
@error:
@Returns:
@pixdata:
@copy_pixels:
@error:
@Returns:
<!-- ##### FUNCTION gdk_pixdata_serialize ##### -->
......@@ -97,9 +96,9 @@ Functions for inlined pixbuf handling.
</para>
@pixdata:
@stream_length_p:
@Returns:
@pixdata:
@stream_length_p:
@Returns:
<!-- ##### FUNCTION gdk_pixdata_deserialize ##### -->
......@@ -107,11 +106,11 @@ Functions for inlined pixbuf handling.
</para>
@pixdata:
@stream_length:
@stream:
@error:
@Returns:
@pixdata:
@stream_length:
@stream:
@error:
@Returns:
<!-- ##### FUNCTION gdk_pixdata_to_csource ##### -->
......@@ -119,9 +118,9 @@ Functions for inlined pixbuf handling.
</para>
@pixdata:
@name:
@dump_type:
@Returns:
@pixdata:
@name:
@dump_type:
@Returns:
......@@ -61,3 +61,12 @@ End:
@pixelate:
<!-- ##### FUNCTION gdk_pixbuf_fill ##### -->
<para>
</para>
@pixbuf:
@pixel:
......@@ -159,6 +159,12 @@ the device ID for the core pointer device.
@obj:
<!-- ##### MACRO GDK_WINDOWING_NANOX ##### -->
<para>
</para>
<!-- ##### STRUCT GdkColorContext ##### -->
<para>
......
......@@ -121,7 +121,7 @@ commandline option, the default value is the program name (determined
with g_get_prgname()) with the first character converted to uppercase.
</para>
@Returns: the program class.
@Returns: the program class.
<!-- ##### FUNCTION gdk_set_program_class ##### -->
......@@ -381,13 +381,6 @@ Removes the X error trap installed with gdk_error_trap_push().
<!-- ##### MACRO GDK_WINDOWING_NANOX ##### -->
<para>
</para>
<!-- ##### MACRO GDK_WINDOWING_FB ##### -->
<para>
......
......@@ -176,6 +176,7 @@ Returns the direction of the keymap.
@keymap: a #GdkKeymap or %NULL to use the default keymap.
Returns: %PANGO_DIRECTION_LTR or %PANGO_DIRECTION_RTL.
@Returns:
<!-- ##### FUNCTION gdk_keyval_name ##### -->
......
......@@ -297,8 +297,7 @@ at the pixel with coordinates @x, @y and ending before @x + @width, @y.
@x: x coordinate of the first pixel.
@y: y coordinate of the first pixel.
@width: number of pixels in the span.
@width: number of pixels in the span.
<!-- ##### USER_FUNCTION GdkSpanFunc ##### -->
<para>
......@@ -306,7 +305,7 @@ This defines the type of the function passed to
gdk_region_spans_intersect_foreach().
</para>
@span: a #GdkSpan.
@span: a #GdkSpan.
@data: the user data passed to gdk_region_spans_intersect_foreach().
......@@ -316,7 +315,7 @@ Calls a function on each span in the intersection of @region and
@spans.
</para>
@region: a #GdkRegion.
@region: a #GdkRegion.
@spans: an array of #GdkSpans.
@n_spans: the length of @spans.
@sorted: %TRUE if @spans is sorted wrt. the y coordinate.
......
......@@ -152,6 +152,8 @@ X Window System Interaction
</para>
@cursor:
<!-- # Unused Parameters # -->
@win:
......@@ -160,6 +162,8 @@ X Window System Interaction
</para>
@cursor:
<!-- # Unused Parameters # -->
@win:
......
......@@ -193,6 +193,26 @@ Functions to adapt C structures to native calling convention.
Signal Marshallers
<!-- ##### SECTION ./tmpl/gtkpacker.sgml:Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/gtkpacker.sgml:See_Also ##### -->
<para>
</para>
<!-- ##### SECTION ./tmpl/gtkpacker.sgml:Short_Description ##### -->
<!-- ##### SECTION ./tmpl/gtkpacker.sgml:Title ##### -->
GtkPacker
<!-- ##### SECTION ./tmpl/gtkprivate.sgml:Title ##### -->
Private Information
......@@ -450,6 +470,29 @@ The widget whose accelerators are to be shown by the #GtkAccelLabel.
</para>
<!-- ##### ENUM GtkAnchorType ##### -->
<para>
</para>
@GTK_ANCHOR_CENTER:
@GTK_ANCHOR_NORTH:
@GTK_ANCHOR_NORTH_WEST:
@GTK_ANCHOR_NORTH_EAST:
@GTK_ANCHOR_SOUTH:
@GTK_ANCHOR_SOUTH_WEST:
@GTK_ANCHOR_SOUTH_EAST:
@GTK_ANCHOR_WEST:
@GTK_ANCHOR_EAST:
@GTK_ANCHOR_N:
@GTK_ANCHOR_NW:
@GTK_ANCHOR_NE:
@GTK_ANCHOR_S:
@GTK_ANCHOR_SW:
@GTK_ANCHOR_SE:
@GTK_ANCHOR_W:
@GTK_ANCHOR_E:
<!-- ##### USER_FUNCTION GtkArgGetFunc ##### -->
<para>
Define a function pointer. Deprecated.
......@@ -843,6 +886,20 @@ after other user handlers and the default handler.
@arg2:
@arg3:
<!-- ##### STRUCT GtkPacker ##### -->
<para>
</para>
@parent:
@children:
@spacing:
@default_border_width:
@default_pad_x:
@default_pad_y:
@default_i_pad_x:
@default_i_pad_y:
<!-- ##### ARG GtkPacker:default-border-width ##### -->
<para>
......@@ -879,6 +936,31 @@ after other user handlers and the default handler.
</para>
<!-- ##### STRUCT GtkPackerChild ##### -->
<para>
</para>
@widget:
@anchor:
@side:
@options:
@use_default:
@border_width:
@pad_x:
@pad_y:
@i_pad_x:
@i_pad_y:
<!-- ##### ENUM GtkPackerOptions ##### -->
<para>
</para>
@GTK_PACK_EXPAND:
@GTK_FILL_X:
@GTK_FILL_Y:
<!-- ##### ARG GtkPaned:handle-size ##### -->
<para>
......@@ -917,6 +999,16 @@ after other user handlers and the default handler.
</para>
<!-- ##### ENUM GtkSideType ##### -->
<para>
</para>
@GTK_SIDE_TOP:
@GTK_SIDE_BOTTOM:
@GTK_SIDE_LEFT:
@GTK_SIDE_RIGHT:
<!-- ##### USER_FUNCTION GtkSignalDestroy ##### -->
<para>
A function which you can use to clean up when the
......@@ -2031,6 +2123,105 @@ Set an array of arguments.
@args: the desired values, as an array of #GtkArgs (which contain
the names, types, and values of the arguments).
<!-- ##### FUNCTION gtk_packer_add ##### -->
<para>
</para>
@packer:
@child:
@side:
@anchor:
@options:
@border_width:
@pad_x:
@pad_y:
@i_pad_x:
@i_pad_y:
<!-- ##### FUNCTION gtk_packer_add_defaults ##### -->
<para>
</para>
@packer:
@child:
@side:
@anchor:
@options:
<!-- ##### MACRO gtk_packer_configure ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_packer_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_packer_reorder_child ##### -->
<para>
</para>
@packer:
@child:
@position:
<!-- ##### FUNCTION gtk_packer_set_child_packing ##### -->
<para>
</para>
@packer:
@child:
@side:
@anchor:
@options:
@border_width:
@pad_x:
@pad_y:
@i_pad_x:
@i_pad_y:
<!-- ##### FUNCTION gtk_packer_set_default_border_width ##### -->
<para>
</para>
@packer:
@border:
<!-- ##### FUNCTION gtk_packer_set_default_ipad ##### -->
<para>
</para>
@packer:
@i_pad_x:
@i_pad_y:
<!-- ##### FUNCTION gtk_packer_set_default_pad ##### -->
<para>
</para>
@packer:
@pad_x:
@pad_y:
<!-- ##### FUNCTION gtk_packer_set_spacing ##### -->