remove gtk_menu_* compat defines; these are already in gtkmenu.h, and the

2001-08-24  Havoc Pennington  <hp@pobox.com>

	* gtk/gtkcompat.h: remove gtk_menu_* compat defines;
	these are already in gtkmenu.h, and the copies
	here were broken.

	Also, change GTK_DISABLE_COMPAT_H to GTK_DISABLE_DEPRECATED

	* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_image):
	special-case bitmaps to allow no colormap
	(bitmap1): implement no-colormap bitmap-getting
	(bitmap1a): implement no-colormap bitmap-getting to pixbuf with
	alpha
	(rgb8): indentation
	(rgb1a, rgb1): change the way we read the data out of the image,
	old way didn't seem to work quite right.

	I'm pretty sure a lot of the rgbconvert code is still broken.

	* gtk/gtkwindow.c (gtk_window_move_resize): move hints comparison
	above position constraint (I really intended to do this before,
	don't know what's up with that)
	(gtk_XParseGeometry): shut up gcc

	* gdk/gdkpixbuf-drawable.c (rgb1a): fix bug where "x1" was used
	and "0" should have been. remove the attempted 4-bytes-at-once
	optimization, it was totally broken.
This commit is contained in:
Havoc Pennington
2001-08-26 02:03:10 +00:00
committed by Havoc Pennington
parent b94e6c0a80
commit eae09f4d83
17 changed files with 431 additions and 78 deletions

View File

@ -1613,6 +1613,16 @@ Get the type of GtkIdentifier.
@menu:
@Returns:
<!-- ##### FUNCTION gtk_menu_item_configure ##### -->
<para>
Sets whether the menu item should show a submenu indicator, which is a right
arrow.
</para>
@menu_item: the menu item
@show_toggle_indicator: unused
@show_submenu_indicator: whether to show the arrow or not
<!-- ##### FUNCTION gtk_object_arg_get ##### -->
<para>
Private function to get an argument and argument info from an object.
@ -2296,6 +2306,13 @@ fundamental type.
@style:
<!-- ##### FUNCTION gtk_widget_set_default_style ##### -->
<para>
</para>
@style:
<!-- ##### FUNCTION gtk_window_activate_mnemonic ##### -->
<para>

View File

@ -92,13 +92,14 @@ GtkContainer
@notify:
<!-- ##### FUNCTION gtk_container_children ##### -->
<!-- ##### MACRO gtk_container_children ##### -->
<para>
</para>
@container:
@Returns:
<!-- # Unused Parameters # -->
@container:
<!-- ##### FUNCTION gtk_container_set_reallocate_redraws ##### -->

View File

@ -252,9 +252,10 @@ return %NULL values.
Creates the new GtkImage using the value and the mask.
</para>
@Returns: the GtkImage
<!-- # Unused Parameters # -->
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
@Returns: the GtkImage
<!-- ##### FUNCTION gtk_image_set ##### -->

View File

@ -96,11 +96,11 @@ Creates a new #GtkMenu.
Adds a new #GtkMenuItem to the end of the menu's item list.
</para>
@menu: a #GtkMenu.
@child: The #GtkMenuItem to add.
<!-- # Unused Parameters # -->
@m:
@c:
@menu: a #GtkMenu.
@child: The #GtkMenuItem to add.
<!-- ##### MACRO gtk_menu_prepend ##### -->
@ -108,6 +108,7 @@ Adds a new #GtkMenuItem to the end of the menu's item list.
Adds a new #GtkMenuItem to the beginning of the menu's item list.
</para>
@menu_child:
<!-- # Unused Parameters # -->
@m:
@c:
@ -121,9 +122,10 @@ Adds a new #GtkMenuItem to the menu's item list at the position
indicated by @position.
</para>
<!-- # Unused Parameters # -->
@menu: a #GtkMenu.
@child: The #GtkMenuItem to add.
@pos:
<!-- # Unused Parameters # -->
@position: The position in the item list where @child is added.
Positions are numbered from 0 to n-1.
@ -293,3 +295,8 @@ will be called when the menu is later detached from the widget.
@menu: the #GtkMenu being detached.
<!-- ##### ARG GtkMenu:tearoff-title ##### -->
<para>
</para>

View File

@ -28,31 +28,38 @@ Creates the new #GtkMenuBar
@Returns: the #GtkMenuBar
<!-- ##### FUNCTION gtk_menu_bar_append ##### -->
<!-- ##### MACRO gtk_menu_bar_append ##### -->
<para>
Adds a new #GtkMenuItem to the end of the GtkMenuBar
</para>
@menu_bar: a #GtkMenuBar
@menu:
@child: the #GtkMenuItem to add
<!-- # Unused Parameters # -->
@menu_bar: a #GtkMenuBar
<!-- ##### FUNCTION gtk_menu_bar_prepend ##### -->
<!-- ##### MACRO gtk_menu_bar_prepend ##### -->
<para>
Adds a new #GtkMenuItem to the beginning of the GtkMenuBar
</para>
@menu_child:
<!-- # Unused Parameters # -->
@menu_bar: a #GtkMenuBar
@child: the #GtkMenuItem to add
<!-- ##### FUNCTION gtk_menu_bar_insert ##### -->
<!-- ##### MACRO gtk_menu_bar_insert ##### -->
<para>
Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position
</para>
@menu_bar: a #GtkMenuBar
@menu:
@child: the #GtkMenuItem to add
@pos:
<!-- # Unused Parameters # -->
@menu_bar: a #GtkMenuBar
@position: the position in the item list where the @child is added.

View File

@ -87,17 +87,6 @@ This function is useless in usual applications.
@placement: the submenu placement
<!-- ##### FUNCTION gtk_menu_item_configure ##### -->
<para>
Sets whether the menu item should show a submenu indicator, which is a right
arrow.
</para>
@menu_item: the menu item
@show_toggle_indicator: unused
@show_submenu_indicator: whether to show the arrow or not
<!-- ##### FUNCTION gtk_menu_item_select ##### -->
<para>
Emits the "select" signal on the given item. Behaves exactly like

View File

@ -495,7 +495,6 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle.
</para>
@parent_instance:
@name:
@bg_pixmap_name:
@font_desc:

View File

@ -211,6 +211,7 @@ GtkTreeView
@tree_view:
@path:
@column:
@use_align:
@row_align:
@col_align: