libgimp/gimpuitypes.h moved the GimpDrawablePreview typedef to the header

2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpuitypes.h
	* libgimpwidgets/gimpwidgetstypes.h: moved the GimpDrawablePreview
	typedef to the header file that it belongs to.

	* libgimp/gimpdrawablepreview.[ch]: minor include cleanups and
	gtk-doc fixes.

2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/Makefile.am
	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types
	* libgimp/tmpl/gimpdrawablepreview.sgml: updated for
	GimpDrawablePreview

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/libgimpwidgets-include.c: removed this file, it
	isn't needed since libgimpwidgets doesn't need to be linked
	against libgimp.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimppreview.sgml: updated for GimpPreview.
This commit is contained in:
Sven Neumann
2004-08-31 09:16:47 +00:00
committed by Sven Neumann
parent e80ba517ba
commit 931eac64b3
18 changed files with 243 additions and 40 deletions

View File

@ -39,7 +39,7 @@ HTML_IMAGES = \
content_files =
# Other files to distribute
extra_files = libgimpwidgets-include.c
extra_files =
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
@ -54,8 +54,6 @@ GTKDOC_LIBS = \
$(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la \
$(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la \
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la \
$(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la \
$(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la \
@GTK_LIBS@
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC)

View File

@ -37,6 +37,7 @@
<xi:include href="xml/gimppickbutton.xml" />
<xi:include href="xml/gimppixmap.xml" />
<xi:include href="xml/gimppreviewarea.xml" />
<xi:include href="xml/gimppreview.xml" />
<xi:include href="xml/gimpunitmenu.xml" />
</part>

View File

@ -1,15 +0,0 @@
/*
* gtk-doc can't build libgimpwidgets-scan.c without PLUG_IN_INFO being defined
* so we include this file as a workaround
*/
#include <glib.h>
#include <libgimp/gimp.h>
GimpPlugInInfo PLUG_IN_INFO =
{
NULL,
NULL,
NULL,
NULL,
};

View File

@ -793,6 +793,25 @@ GIMP_IS_PREVIEW_AREA_CLASS
GIMP_PREVIEW_AREA_GET_CLASS
</SECTION>
<SECTION>
<FILE>gimppreview</FILE>
<TITLE>GimpPreview</TITLE>
GimpPreview
gimp_preview_get_width
gimp_preview_get_height
gimp_preview_get_position
gimp_preview_show_update_toggle
<SUBSECTION Standard>
GimpPreviewClass
GIMP_PREVIEW
GIMP_IS_PREVIEW
GIMP_TYPE_PREVIEW
gimp_preview_get_type
GIMP_PREVIEW_CLASS
GIMP_IS_PREVIEW_CLASS
GIMP_PREVIEW_GET_CLASS
</SECTION>
<SECTION>
<FILE>gimpoldwidgets</FILE>
gimp_int_option_menu_new

View File

@ -1,8 +1,5 @@
#include <gtk/gtk.h>
#include <libgimp/gimp.h>
#include <libgimp/gimpui.h>
#include "devel-docs/libgimpwidgets/libgimpwidgets-include.c"
#include <libgimpwidgets/gimpwidgets.h>
gimp_button_get_type
gimp_cell_renderer_color_get_type
@ -30,5 +27,6 @@ gimp_path_editor_get_type
gimp_pick_button_get_type
gimp_pixmap_get_type
gimp_preview_area_get_type
gimp_preview_get_type
gimp_size_entry_get_type
gimp_unit_menu_get_type

View File

@ -0,0 +1,76 @@
<!-- ##### SECTION Title ##### -->
GimpPreview
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GimpPreview ##### -->
<para>
</para>
<!-- ##### SIGNAL GimpPreview::updated ##### -->
<para>
</para>
@gimppreview: the object which received the signal.
<!-- ##### ARG GimpPreview:show-toggle-preview ##### -->
<para>
</para>
<!-- ##### ARG GimpPreview:update-preview ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_preview_get_width ##### -->
<para>
</para>
@preview:
@Returns:
<!-- ##### FUNCTION gimp_preview_get_height ##### -->
<para>
</para>
@preview:
@Returns:
<!-- ##### FUNCTION gimp_preview_get_position ##### -->
<para>
</para>
@preview:
@x:
@y:
<!-- ##### FUNCTION gimp_preview_show_update_toggle ##### -->
<para>
</para>
@preview:
@show_update: