whitespace cleanup: remove trailing whitespace and excess newlines and

2008-05-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
	excess newlines and sprinkled some newlines where needed. Zero
	code or formatting changes included.


svn path=/trunk/; revision=20225
This commit is contained in:
Michael Natterer
2008-05-28 15:35:43 +00:00
committed by Michael Natterer
parent 0bf59ed22e
commit 2c5f8a5c2b
134 changed files with 311 additions and 328 deletions

View File

@ -1,3 +1,9 @@
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
excess newlines and sprinkled some newlines where needed. Zero
code or formatting changes included.
2008-05-28 Michael Natterer <mitch@imendio.com> 2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtkprinter.h: fix formatting of details_acquired() signal. * gtk/gtkprinter.h: fix formatting of details_acquired() signal.

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -24,7 +24,7 @@
* Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -25,7 +25,7 @@
* Modified by the GTK+ Team and others 2003. See the AUTHORS * Modified by the GTK+ Team and others 2003. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -19,13 +19,13 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/* /*
* Author: James Henstridge <james@daa.com.au> * Author: James Henstridge <james@daa.com.au>
* *
* Modified by the GTK+ Team and others 2003. See the AUTHORS * Modified by the GTK+ Team and others 2003. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -103,5 +103,3 @@ void _gtk_button_box_child_requisition (GtkWidget *widget,
G_END_DECLS G_END_DECLS
#endif /* __GTK_BUTTON_BOX_H__ */ #endif /* __GTK_BUTTON_BOX_H__ */

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -24,7 +24,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -23,7 +23,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -17,11 +17,12 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/* /*
* Modified by the GTK+ Team and others 1997-2004. See the AUTHORS * Modified by the GTK+ Team and others 1997-2004. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -49,7 +50,7 @@ typedef struct _GtkCellRendererProgressPrivate GtkCellRendererProgressPrivate;
struct _GtkCellRendererProgress struct _GtkCellRendererProgress
{ {
GtkCellRenderer parent_instance; GtkCellRenderer parent_instance;
/*< private >*/ /*< private >*/
GtkCellRendererProgressPrivate *priv; GtkCellRendererProgressPrivate *priv;
}; };

View File

@ -51,7 +51,7 @@ struct _GtkCellRendererText
gdouble font_scale; gdouble font_scale;
PangoColor foreground; PangoColor foreground;
PangoColor background; PangoColor background;
PangoAttrList *extra_attrs; PangoAttrList *extra_attrs;
PangoUnderline underline_style; PangoUnderline underline_style;
@ -64,14 +64,14 @@ struct _GtkCellRendererText
guint editable : 1; guint editable : 1;
guint scale_set : 1; guint scale_set : 1;
guint foreground_set : 1; guint foreground_set : 1;
guint background_set : 1; guint background_set : 1;
guint underline_set : 1; guint underline_set : 1;
guint rise_set : 1; guint rise_set : 1;
guint strikethrough_set : 1; guint strikethrough_set : 1;
guint editable_set : 1; guint editable_set : 1;

View File

@ -78,5 +78,4 @@ void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *togg
G_END_DECLS G_END_DECLS
#endif /* __GTK_CELL_RENDERER_TOGGLE_H__ */ #endif /* __GTK_CELL_RENDERER_TOGGLE_H__ */

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2001. See the AUTHORS * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -52,7 +52,7 @@ typedef struct _GtkCheckMenuItemClass GtkCheckMenuItemClass;
struct _GtkCheckMenuItem struct _GtkCheckMenuItem
{ {
GtkMenuItem menu_item; GtkMenuItem menu_item;
guint active : 1; guint active : 1;
guint always_show_toggle : 1; guint always_show_toggle : 1;
guint inconsistent : 1; guint inconsistent : 1;
@ -62,7 +62,7 @@ struct _GtkCheckMenuItem
struct _GtkCheckMenuItemClass struct _GtkCheckMenuItemClass
{ {
GtkMenuItemClass parent_class; GtkMenuItemClass parent_class;
void (* toggled) (GtkCheckMenuItem *check_menu_item); void (* toggled) (GtkCheckMenuItem *check_menu_item);
void (* draw_indicator) (GtkCheckMenuItem *check_menu_item, void (* draw_indicator) (GtkCheckMenuItem *check_menu_item,
GdkRectangle *area); GdkRectangle *area);
@ -90,7 +90,7 @@ gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_i
void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item, void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
gboolean draw_as_radio); gboolean draw_as_radio);
gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item); gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item);
#ifndef GTK_DISABLE_DEPRECATED #ifndef GTK_DISABLE_DEPRECATED
void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item, void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item,

View File

@ -16,7 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
* *
* Global clipboard abstraction. * Global clipboard abstraction.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -138,12 +138,12 @@ void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
gint n_targets); gint n_targets);
void gtk_clipboard_store (GtkClipboard *clipboard); void gtk_clipboard_store (GtkClipboard *clipboard);
/* private */ /* private */
void _gtk_clipboard_handle_event (GdkEventOwnerChange *event); void _gtk_clipboard_handle_event (GdkEventOwnerChange *event);
void _gtk_clipboard_store_all (void); void _gtk_clipboard_store_all (void);
G_END_DECLS G_END_DECLS
#endif /* __GTK_CLIPBOARD_H__ */ #endif /* __GTK_CLIPBOARD_H__ */

View File

@ -1,5 +1,5 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* Copyright (C) 2000 Red Hat, Inc. * Copyright (C) 2000 Red Hat, Inc.
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -22,7 +22,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -71,9 +71,9 @@ struct _GtkColorSelectionDialogClass
}; };
/* ColorSelectionDialog */ /* ColorSelectionDialog */
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST; GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_color_selection_dialog_new (const gchar *title); GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
G_END_DECLS G_END_DECLS

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -56,9 +56,9 @@ typedef struct _GtkContainerClass GtkContainerClass;
struct _GtkContainer struct _GtkContainer
{ {
GtkWidget widget; GtkWidget widget;
GtkWidget *focus_child; GtkWidget *focus_child;
guint border_width : 16; guint border_width : 16;
/*< private >*/ /*< private >*/

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* /*

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -59,7 +59,7 @@ typedef enum {
#else /* !G_ENABLE_DEBUG */ #else /* !G_ENABLE_DEBUG */
#define GTK_NOTE(type, action) #define GTK_NOTE(type, action)
#endif /* G_ENABLE_DEBUG */ #endif /* G_ENABLE_DEBUG */
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -22,7 +22,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -46,7 +46,7 @@ typedef enum {
GTK_DEST_DEFAULT_ALL = 0x07 GTK_DEST_DEFAULT_ALL = 0x07
} GtkDestDefaults; } GtkDestDefaults;
/* Flags for the GtkTargetEntry on the destination side /* Flags for the GtkTargetEntry on the destination side
*/ */
typedef enum { typedef enum {
GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/ GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/
@ -186,6 +186,3 @@ void gtk_drag_set_default_icon (GdkColormap *colormap,
G_END_DECLS G_END_DECLS
#endif /* __GTK_DND_H__ */ #endif /* __GTK_DND_H__ */

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -50,7 +50,7 @@ typedef struct _GtkEditableClass GtkEditableClass;
struct _GtkEditableClass struct _GtkEditableClass
{ {
GTypeInterface base_iface; GTypeInterface base_iface;
/* signals */ /* signals */
void (* insert_text) (GtkEditable *editable, void (* insert_text) (GtkEditable *editable,
const gchar *text, const gchar *text,

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -70,10 +70,10 @@ struct _GtkEntry
GdkWindow *text_area; GdkWindow *text_area;
GtkIMContext *im_context; GtkIMContext *im_context;
GtkWidget *popup_menu; GtkWidget *popup_menu;
gint current_pos; gint current_pos;
gint selection_bound; gint selection_bound;
PangoLayout *cached_layout; PangoLayout *cached_layout;
guint cache_includes_preedit : 1; guint cache_includes_preedit : 1;
@ -96,7 +96,7 @@ struct _GtkEntry
gint scroll_offset; gint scroll_offset;
gint ascent; /* font ascent, in pango units */ gint ascent; /* font ascent, in pango units */
gint descent; /* font descent, in pango units */ gint descent; /* font descent, in pango units */
guint16 text_size; /* allocated size, in bytes */ guint16 text_size; /* allocated size, in bytes */
guint16 n_bytes; /* length in use, in bytes */ guint16 n_bytes; /* length in use, in bytes */
@ -107,7 +107,7 @@ struct _GtkEntry
gint drag_start_x; gint drag_start_x;
gint drag_start_y; gint drag_start_y;
gunichar invisible_char; gunichar invisible_char;
gint width_chars; gint width_chars;
@ -120,7 +120,7 @@ struct _GtkEntryClass
/* Hook to customize right-click popup */ /* Hook to customize right-click popup */
void (* populate_popup) (GtkEntry *entry, void (* populate_popup) (GtkEntry *entry,
GtkMenu *menu); GtkMenu *menu);
/* Action signals /* Action signals
*/ */
void (* activate) (GtkEntry *entry); void (* activate) (GtkEntry *entry);
@ -201,7 +201,7 @@ gint gtk_entry_layout_index_to_text_index (GtkEntry *entry,
gint gtk_entry_text_index_to_layout_index (GtkEntry *entry, gint gtk_entry_text_index_to_layout_index (GtkEntry *entry,
gint text_index); gint text_index);
/* For scrolling cursor appropriately /* For scrolling cursor appropriately
*/ */
void gtk_entry_set_cursor_hadjustment (GtkEntry *entry, void gtk_entry_set_cursor_hadjustment (GtkEntry *entry,
GtkAdjustment *adjustment); GtkAdjustment *adjustment);

View File

@ -68,7 +68,7 @@ struct _GtkEntryCompletionClass
void (* action_activated) (GtkEntryCompletion *completion, void (* action_activated) (GtkEntryCompletion *completion,
gint index_); gint index_);
gboolean (* insert_prefix) (GtkEntryCompletion *completion, gboolean (* insert_prefix) (GtkEntryCompletion *completion,
const gchar *prefix); const gchar *prefix);
gboolean (* cursor_on_match) (GtkEntryCompletion *completion, gboolean (* cursor_on_match) (GtkEntryCompletion *completion,
GtkTreeModel *model, GtkTreeModel *model,
GtkTreeIter *iter); GtkTreeIter *iter);

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -49,7 +49,7 @@ typedef gboolean (*GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info,
struct _GtkFileFilterInfo struct _GtkFileFilterInfo
{ {
GtkFileFilterFlags contains; GtkFileFilterFlags contains;
const gchar *filename; const gchar *filename;
const gchar *uri; const gchar *uri;
const gchar *display_name; const gchar *display_name;

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -2,7 +2,7 @@
* Copyright (C) 1998 David Abilleira Freijeiro <odaf@nexo.es> * Copyright (C) 1998 David Abilleira Freijeiro <odaf@nexo.es>
* All rights reserved * All rights reserved
* Based on gnome-color-picker by Federico Mena <federico@nuclecu.unam.mx> * Based on gnome-color-picker by Federico Mena <federico@nuclecu.unam.mx>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 2003. See the AUTHORS * Modified by the GTK+ Team and others 2003. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -96,9 +96,5 @@ void gtk_font_button_set_show_size (GtkFontButton *font_button
G_END_DECLS G_END_DECLS
#endif /* __GTK_FONT_BUTTON_H__ */ #endif /* __GTK_FONT_BUTTON_H__ */

View File

@ -25,7 +25,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* /*

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -22,7 +22,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* The GtkHandleBox is to allow widgets to be dragged in and out of /* The GtkHandleBox is to allow widgets to be dragged in and out of

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* /*

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -42,13 +42,13 @@ typedef struct _GtkIMContextSimple GtkIMContextSimple;
typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass; typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass;
#define GTK_MAX_COMPOSE_LEN 7 #define GTK_MAX_COMPOSE_LEN 7
struct _GtkIMContextSimple struct _GtkIMContextSimple
{ {
GtkIMContext object; GtkIMContext object;
GSList *tables; GSList *tables;
guint compose_buffer[GTK_MAX_COMPOSE_LEN + 1]; guint compose_buffer[GTK_MAX_COMPOSE_LEN + 1];
gunichar tentative_match; gunichar tentative_match;
gint tentative_match_len; gint tentative_match_len;

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* /*
@ -69,7 +69,7 @@ struct _GtkInputDialog
GtkWidget *close_button; GtkWidget *close_button;
GtkWidget *save_button; GtkWidget *save_button;
GtkWidget *axis_items[GDK_AXIS_LAST]; GtkWidget *axis_items[GDK_AXIS_LAST];
GdkDevice *current_device; GdkDevice *current_device;

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -24,7 +24,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#ifndef GTK_DISABLE_DEPRECATED #ifndef GTK_DISABLE_DEPRECATED

View File

@ -20,7 +20,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -44,7 +44,7 @@ G_BEGIN_DECLS
#define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL)) #define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL))
#define GTK_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL)) #define GTK_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL))
#define GTK_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL, GtkLabelClass)) #define GTK_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL, GtkLabelClass))
typedef struct _GtkLabel GtkLabel; typedef struct _GtkLabel GtkLabel;
typedef struct _GtkLabelClass GtkLabelClass; typedef struct _GtkLabelClass GtkLabelClass;
@ -69,16 +69,16 @@ struct _GtkLabel
guint pattern_set : 1; guint pattern_set : 1;
guint mnemonic_keyval; guint mnemonic_keyval;
gchar *text; gchar *text;
PangoAttrList *attrs; PangoAttrList *attrs;
PangoAttrList *effective_attrs; PangoAttrList *effective_attrs;
PangoLayout *layout; PangoLayout *layout;
GtkWidget *mnemonic_widget; GtkWidget *mnemonic_widget;
GtkWindow *mnemonic_window; GtkWindow *mnemonic_window;
GtkLabelSelectionInfo *select_info; GtkLabelSelectionInfo *select_info;
}; };
@ -91,7 +91,7 @@ struct _GtkLabelClass
gint count, gint count,
gboolean extend_selection); gboolean extend_selection);
void (* copy_clipboard) (GtkLabel *label); void (* copy_clipboard) (GtkLabel *label);
/* Hook to customize right-click popup for selectable labels */ /* Hook to customize right-click popup for selectable labels */
void (* populate_popup) (GtkLabel *label, void (* populate_popup) (GtkLabel *label,
GtkMenu *menu); GtkMenu *menu);

View File

@ -25,7 +25,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -93,17 +93,17 @@ struct _GtkLayoutClass
GType gtk_layout_get_type (void) G_GNUC_CONST; GType gtk_layout_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment, GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment); GtkAdjustment *vadjustment);
void gtk_layout_put (GtkLayout *layout, void gtk_layout_put (GtkLayout *layout,
GtkWidget *child_widget, GtkWidget *child_widget,
gint x, gint x,
gint y); gint y);
void gtk_layout_move (GtkLayout *layout, void gtk_layout_move (GtkLayout *layout,
GtkWidget *child_widget, GtkWidget *child_widget,
gint x, gint x,
gint y); gint y);
void gtk_layout_set_size (GtkLayout *layout, void gtk_layout_set_size (GtkLayout *layout,
guint width, guint width,
guint height); guint height);
void gtk_layout_get_size (GtkLayout *layout, void gtk_layout_get_size (GtkLayout *layout,

View File

@ -1,12 +1,12 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtklinkbutton.h - an hyperlink-enabled button * gtklinkbutton.h - an hyperlink-enabled button
* *
* Copyright (C) 2005 Emmanuele Bassi <ebassi@gmail.com> * Copyright (C) 2005 Emmanuele Bassi <ebassi@gmail.com>
* All rights reserved. * All rights reserved.
* *
* Based on gnome-href code by: * Based on gnome-href code by:
* James Henstridge <james@daa.com.au> * James Henstridge <james@daa.com.au>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public * modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -52,14 +52,14 @@ typedef void (*GtkLinkButtonUriFunc) (GtkLinkButton *button,
struct _GtkLinkButton struct _GtkLinkButton
{ {
GtkButton parent_instance; GtkButton parent_instance;
GtkLinkButtonPrivate *priv; GtkLinkButtonPrivate *priv;
}; };
struct _GtkLinkButtonClass struct _GtkLinkButtonClass
{ {
GtkButtonClass parent_class; GtkButtonClass parent_class;
void (*_gtk_padding1) (void); void (*_gtk_padding1) (void);
void (*_gtk_padding2) (void); void (*_gtk_padding2) (void);
void (*_gtk_padding3) (void); void (*_gtk_padding3) (void);

View File

@ -49,7 +49,7 @@ struct _GtkListStore
gint stamp; gint stamp;
gpointer seq; /* head of the list */ gpointer seq; /* head of the list */
gpointer _gtk_reserved1; gpointer _gtk_reserved1;
GList *sort_list; GList *sort_list;
gint n_columns; gint n_columns;
gint sort_column_id; gint sort_column_id;
GtkSortType order; GtkSortType order;
@ -93,7 +93,7 @@ void gtk_list_store_set (GtkListStore *list_store,
...); ...);
void gtk_list_store_set_valuesv (GtkListStore *list_store, void gtk_list_store_set_valuesv (GtkListStore *list_store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint *columns, gint *columns,
GValue *values, GValue *values,
gint n_values); gint n_values);
void gtk_list_store_set_valist (GtkListStore *list_store, void gtk_list_store_set_valist (GtkListStore *list_store,
@ -117,7 +117,7 @@ void gtk_list_store_insert_with_values (GtkListStore *list_store,
void gtk_list_store_insert_with_valuesv (GtkListStore *list_store, void gtk_list_store_insert_with_valuesv (GtkListStore *list_store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint position, gint position,
gint *columns, gint *columns,
GValue *values, GValue *values,
gint n_values); gint n_values);
void gtk_list_store_prepend (GtkListStore *list_store, void gtk_list_store_prepend (GtkListStore *list_store,

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2003. See the AUTHORS * Modified by the GTK+ Team and others 1997-2003. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -40,7 +40,7 @@ gchar **_gtk_get_module_path (const gchar *type);
void _gtk_modules_init (gint *argc, void _gtk_modules_init (gint *argc,
gchar ***argv, gchar ***argv,
const gchar *gtk_modules_args); const gchar *gtk_modules_args);
void _gtk_modules_settings_changed (GtkSettings *settings, void _gtk_modules_settings_changed (GtkSettings *settings,
const gchar *modules); const gchar *modules);
typedef void (*GtkModuleInitFunc) (gint *argc, typedef void (*GtkModuleInitFunc) (gint *argc,

View File

@ -22,7 +22,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -59,20 +59,20 @@ typedef struct _GtkNotebookPage GtkNotebookPage;
struct _GtkNotebook struct _GtkNotebook
{ {
GtkContainer container; GtkContainer container;
GtkNotebookPage *cur_page; GtkNotebookPage *cur_page;
GList *children; GList *children;
GList *first_tab; /* The first tab visible (for scrolling notebooks) */ GList *first_tab; /* The first tab visible (for scrolling notebooks) */
GList *focus_tab; GList *focus_tab;
GtkWidget *menu; GtkWidget *menu;
GdkWindow *event_window; GdkWindow *event_window;
guint32 timer; guint32 timer;
guint16 tab_hborder; guint16 tab_hborder;
guint16 tab_vborder; guint16 tab_vborder;
guint show_tabs : 1; guint show_tabs : 1;
guint homogeneous : 1; guint homogeneous : 1;
guint show_border : 1; guint show_border : 1;
@ -95,7 +95,7 @@ struct _GtkNotebook
struct _GtkNotebookClass struct _GtkNotebookClass
{ {
GtkContainerClass parent_class; GtkContainerClass parent_class;
void (* switch_page) (GtkNotebook *notebook, void (* switch_page) (GtkNotebook *notebook,
GtkNotebookPage *page, GtkNotebookPage *page,
guint page_num); guint page_num);

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -87,7 +87,7 @@ typedef struct _GtkObjectClass GtkObjectClass;
struct _GtkObject struct _GtkObject
{ {
GInitiallyUnowned parent_instance; GInitiallyUnowned parent_instance;
/* 32 bits of flags. GtkObject only uses 4 of these bits and /* 32 bits of flags. GtkObject only uses 4 of these bits and
* GtkWidget uses the rest. This is done because structs are * GtkWidget uses the rest. This is done because structs are
* aligned on 4 or 8 byte boundaries. If a new bitfield were * aligned on 4 or 8 byte boundaries. If a new bitfield were
@ -99,7 +99,7 @@ struct _GtkObject
struct _GtkObjectClass struct _GtkObjectClass
{ {
GInitiallyUnownedClass parent_class; GInitiallyUnownedClass parent_class;
/* Non overridable class methods to set and get per class arguments */ /* Non overridable class methods to set and get per class arguments */
void (*set_arg) (GtkObject *object, void (*set_arg) (GtkObject *object,
GtkArg *arg, GtkArg *arg,
@ -107,7 +107,7 @@ struct _GtkObjectClass
void (*get_arg) (GtkObject *object, void (*get_arg) (GtkObject *object,
GtkArg *arg, GtkArg *arg,
guint arg_id); guint arg_id);
/* Default signal handler for the ::destroy signal, which is /* Default signal handler for the ::destroy signal, which is
* invoked to request that references to the widget be dropped. * invoked to request that references to the widget be dropped.
* If an object class overrides destroy() in order to perform class * If an object class overrides destroy() in order to perform class
@ -132,7 +132,7 @@ void gtk_object_destroy (GtkObject *object);
/****************************************************************/ /****************************************************************/
#ifndef GTK_DISABLE_DEPRECATED #ifndef GTK_DISABLE_DEPRECATED
GtkObject* gtk_object_new (GtkType type, GtkObject* gtk_object_new (GtkType type,
const gchar *first_property_name, const gchar *first_property_name,

View File

@ -1,4 +1,4 @@
/* GtkPageSetupUnixDialog /* GtkPageSetupUnixDialog
* Copyright (C) 2006 Alexander Larsson <alexl@redhat.com> * Copyright (C) 2006 Alexander Larsson <alexl@redhat.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -22,7 +22,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -47,18 +47,18 @@ G_BEGIN_DECLS
typedef struct _GtkPaned GtkPaned; typedef struct _GtkPaned GtkPaned;
typedef struct _GtkPanedClass GtkPanedClass; typedef struct _GtkPanedClass GtkPanedClass;
typedef struct _GtkPanedPrivate GtkPanedPrivate; typedef struct _GtkPanedPrivate GtkPanedPrivate;
struct _GtkPaned struct _GtkPaned
{ {
GtkContainer container; GtkContainer container;
GtkWidget *child1; GtkWidget *child1;
GtkWidget *child2; GtkWidget *child2;
GdkWindow *handle; GdkWindow *handle;
GdkGC *xor_gc; GdkGC *xor_gc;
GdkCursorType cursor_type; GdkCursorType cursor_type;
/*< private >*/ /*< private >*/
GdkRectangle handle_pos; GdkRectangle handle_pos;
@ -84,13 +84,13 @@ struct _GtkPaned
gint drag_pos; gint drag_pos;
gint original_position; gint original_position;
}; };
struct _GtkPanedClass struct _GtkPanedClass
{ {
GtkContainerClass parent_class; GtkContainerClass parent_class;
gboolean (* cycle_child_focus) (GtkPaned *paned, gboolean (* cycle_child_focus) (GtkPaned *paned,
gboolean reverse); gboolean reverse);
gboolean (* toggle_handle_focus) (GtkPaned *paned); gboolean (* toggle_handle_focus) (GtkPaned *paned);
gboolean (* move_handle) (GtkPaned *paned, gboolean (* move_handle) (GtkPaned *paned,
GtkScrollType scroll); GtkScrollType scroll);

View File

@ -20,7 +20,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -1,5 +1,5 @@
/* GtkPrintJob /* GtkPrintJob
* Copyright (C) 2006 Red Hat,Inc. * Copyright (C) 2006 Red Hat,Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -39,7 +39,7 @@ typedef struct _GtkPrintJobClass GtkPrintJobClass;
typedef struct _GtkPrintJobPrivate GtkPrintJobPrivate; typedef struct _GtkPrintJobPrivate GtkPrintJobPrivate;
typedef void (*GtkPrintJobCompleteFunc) (GtkPrintJob *print_job, typedef void (*GtkPrintJobCompleteFunc) (GtkPrintJob *print_job,
gpointer user_data, gpointer user_data,
GError *error); GError *error);
struct _GtkPrinter; struct _GtkPrinter;

View File

@ -78,19 +78,19 @@ typedef enum {
struct _GtkPrintOperation struct _GtkPrintOperation
{ {
GObject parent_instance; GObject parent_instance;
GtkPrintOperationPrivate *priv; GtkPrintOperationPrivate *priv;
}; };
struct _GtkPrintOperationClass struct _GtkPrintOperationClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
void (*done) (GtkPrintOperation *operation, void (*done) (GtkPrintOperation *operation,
GtkPrintOperationResult result); GtkPrintOperationResult result);
void (*begin_print) (GtkPrintOperation *operation, void (*begin_print) (GtkPrintOperation *operation,
GtkPrintContext *context); GtkPrintContext *context);
gboolean (*paginate) (GtkPrintOperation *operation, gboolean (*paginate) (GtkPrintOperation *operation,
GtkPrintContext *context); GtkPrintContext *context);
void (*request_page_setup) (GtkPrintOperation *operation, void (*request_page_setup) (GtkPrintOperation *operation,
GtkPrintContext *context, GtkPrintContext *context,
@ -107,11 +107,10 @@ struct _GtkPrintOperationClass
void (*custom_widget_apply) (GtkPrintOperation *operation, void (*custom_widget_apply) (GtkPrintOperation *operation,
GtkWidget *widget); GtkWidget *widget);
gboolean (*preview) (GtkPrintOperation *operation, gboolean (*preview) (GtkPrintOperation *operation,
GtkPrintOperationPreview *preview, GtkPrintOperationPreview *preview,
GtkPrintContext *context, GtkPrintContext *context,
GtkWindow *parent); GtkWindow *parent);
/* Padding for future expansion */ /* Padding for future expansion */
void (*_gtk_reserved1) (void); void (*_gtk_reserved1) (void);
@ -178,7 +177,7 @@ GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow
GtkPageSetup *page_setup, GtkPageSetup *page_setup,
GtkPrintSettings *settings); GtkPrintSettings *settings);
typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup, typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup,
gpointer data); gpointer data);
void gtk_print_run_page_setup_dialog_async (GtkWindow *parent, void gtk_print_run_page_setup_dialog_async (GtkWindow *parent,

View File

@ -28,7 +28,7 @@
#include <glib-object.h> #include <glib-object.h>
#include <cairo.h> #include <cairo.h>
#include "gtkprintcontext.h" #include "gtkprintcontext.h"
G_BEGIN_DECLS G_BEGIN_DECLS
@ -46,20 +46,18 @@ struct _GtkPrintOperationPreviewIface
GTypeInterface g_iface; GTypeInterface g_iface;
/* signals */ /* signals */
void (*ready) (GtkPrintOperationPreview *preview, void (*ready) (GtkPrintOperationPreview *preview,
GtkPrintContext *context); GtkPrintContext *context);
void (*got_page_size) (GtkPrintOperationPreview *preview, void (*got_page_size) (GtkPrintOperationPreview *preview,
GtkPrintContext *context, GtkPrintContext *context,
GtkPageSetup *page_setup); GtkPageSetup *page_setup);
/* methods */ /* methods */
void (*render_page) (GtkPrintOperationPreview *preview, void (*render_page) (GtkPrintOperationPreview *preview,
gint page_nr); gint page_nr);
gboolean (*is_selected) (GtkPrintOperationPreview *preview, gboolean (*is_selected) (GtkPrintOperationPreview *preview,
gint page_nr); gint page_nr);
void (*end_preview) (GtkPrintOperationPreview *preview); void (*end_preview) (GtkPrintOperationPreview *preview);
/* Padding for future expansion */ /* Padding for future expansion */
void (*_gtk_reserved1) (void); void (*_gtk_reserved1) (void);

View File

@ -1,4 +1,4 @@
/* GtkPrintUnixDialog /* GtkPrintUnixDialog
* Copyright (C) 2006 John (J5) Palmieri <johnp@redhat.com> * Copyright (C) 2006 John (J5) Palmieri <johnp@redhat.com>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -78,7 +78,7 @@ struct _GtkProgressBar
guint activity_blocks; guint activity_blocks;
gdouble pulse_fraction; gdouble pulse_fraction;
guint activity_dir : 1; guint activity_dir : 1;
guint ellipsize : 3; guint ellipsize : 3;
guint dirty : 1; guint dirty : 1;
@ -101,30 +101,30 @@ GtkWidget* gtk_progress_bar_new (void);
/* /*
* GtkProgress/GtkProgressBar had serious problems in GTK 1.2. * GtkProgress/GtkProgressBar had serious problems in GTK 1.2.
* *
* - Only 3 or 4 functions are really needed for 95% of progress * - Only 3 or 4 functions are really needed for 95% of progress
* interfaces; GtkProgress[Bar] had about 25 functions, and * interfaces; GtkProgress[Bar] had about 25 functions, and
* didn't even include these 3 or 4. * didn't even include these 3 or 4.
* - In activity mode, the API involves setting the adjustment * - In activity mode, the API involves setting the adjustment
* to any random value, just to have the side effect of * to any random value, just to have the side effect of
* calling the progress bar update function - the adjustment * calling the progress bar update function - the adjustment
* is totally ignored in activity mode * is totally ignored in activity mode
* - You set the activity step as a pixel value, which means to * - You set the activity step as a pixel value, which means to
* set the activity step you basically need to connect to * set the activity step you basically need to connect to
* size_allocate * size_allocate
* - There are ctree_set_expander_style()-functions, to randomly * - There are ctree_set_expander_style()-functions, to randomly
* change look-and-feel for no good reason * change look-and-feel for no good reason
* - The split between GtkProgress and GtkProgressBar makes no sense * - The split between GtkProgress and GtkProgressBar makes no sense
* to me whatsoever. * to me whatsoever.
* *
* This was a big wart on GTK and made people waste lots of time, * This was a big wart on GTK and made people waste lots of time,
* both learning and using the interface. * both learning and using the interface.
* *
* So, I have added what I feel is the correct API, and marked all the * So, I have added what I feel is the correct API, and marked all the
* rest deprecated. However, the changes are 100% backward-compatible and * rest deprecated. However, the changes are 100% backward-compatible and
* should break no existing code. * should break no existing code.
* *
* The following 9 functions are the new programming interface. * The following 9 functions are the new programming interface.
*/ */
void gtk_progress_bar_pulse (GtkProgressBar *pbar); void gtk_progress_bar_pulse (GtkProgressBar *pbar);
void gtk_progress_bar_set_text (GtkProgressBar *pbar, void gtk_progress_bar_set_text (GtkProgressBar *pbar,

View File

@ -25,7 +25,7 @@
* Modified by the GTK+ Team and others 2003. See the AUTHORS * Modified by the GTK+ Team and others 2003. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -52,7 +52,7 @@ typedef struct _GtkRadioButtonClass GtkRadioButtonClass;
struct _GtkRadioButton struct _GtkRadioButton
{ {
GtkCheckButton check_button; GtkCheckButton check_button;
GSList *group; GSList *group;
}; };

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -51,14 +51,14 @@ typedef struct _GtkRadioMenuItemClass GtkRadioMenuItemClass;
struct _GtkRadioMenuItem struct _GtkRadioMenuItem
{ {
GtkCheckMenuItem check_menu_item; GtkCheckMenuItem check_menu_item;
GSList *group; GSList *group;
}; };
struct _GtkRadioMenuItemClass struct _GtkRadioMenuItemClass
{ {
GtkCheckMenuItemClass parent_class; GtkCheckMenuItemClass parent_class;
/* Signals */ /* Signals */
void (*group_changed) (GtkRadioMenuItem *radio_menu_item); void (*group_changed) (GtkRadioMenuItem *radio_menu_item);
@ -70,7 +70,7 @@ struct _GtkRadioMenuItemClass
GType gtk_radio_menu_item_get_type (void) G_GNUC_CONST; GType gtk_radio_menu_item_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_radio_menu_item_new (GSList *group); GtkWidget* gtk_radio_menu_item_new (GSList *group);
GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group,
const gchar *label); const gchar *label);

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -63,13 +63,13 @@ struct _GtkRange
guint inverted : 1; guint inverted : 1;
/*< protected >*/ /*< protected >*/
guint flippable : 1; guint flippable : 1;
/* Steppers are: < > ---- < > /* Steppers are: < > ---- < >
* a b c d * a b c d
*/ */
guint has_stepper_a : 1; guint has_stepper_a : 1;
guint has_stepper_b : 1; guint has_stepper_b : 1;
guint has_stepper_c : 1; guint has_stepper_c : 1;
@ -78,7 +78,7 @@ struct _GtkRange
guint need_recalc : 1; guint need_recalc : 1;
guint slider_size_fixed : 1; guint slider_size_fixed : 1;
gint min_slider_size; gint min_slider_size;
GtkOrientation orientation; GtkOrientation orientation;
@ -90,7 +90,7 @@ struct _GtkRange
/* Round off value to this many digits, -1 for no rounding */ /* Round off value to this many digits, -1 for no rounding */
gint round_digits; gint round_digits;
/*< private >*/ /*< private >*/
guint trough_click_forward : 1; /* trough click was on the forward side of slider */ guint trough_click_forward : 1; /* trough click was on the forward side of slider */
guint update_pending : 1; /* need to emit value_changed */ guint update_pending : 1; /* need to emit value_changed */
@ -113,7 +113,7 @@ struct _GtkRangeClass
void (* value_changed) (GtkRange *range); void (* value_changed) (GtkRange *range);
void (* adjust_bounds) (GtkRange *range, void (* adjust_bounds) (GtkRange *range,
gdouble new_value); gdouble new_value);
/* action signals for keybindings */ /* action signals for keybindings */
void (* move_slider) (GtkRange *range, void (* move_slider) (GtkRange *range,
GtkScrollType scroll); GtkScrollType scroll);

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -62,7 +62,7 @@ struct _GtkRcStyle
GObject parent_instance; GObject parent_instance;
/*< public >*/ /*< public >*/
gchar *name; gchar *name;
gchar *bg_pixmap_name[5]; gchar *bg_pixmap_name[5];
PangoFontDescription *font_desc; PangoFontDescription *font_desc;
@ -78,7 +78,7 @@ struct _GtkRcStyle
/*< private >*/ /*< private >*/
GArray *rc_properties; GArray *rc_properties;
/* list of RC style lists including this RC style */ /* list of RC style lists including this RC style */
GSList *rc_style_lists; GSList *rc_style_lists;
@ -105,7 +105,7 @@ struct _GtkRcStyleClass
guint (*parse) (GtkRcStyle *rc_style, guint (*parse) (GtkRcStyle *rc_style,
GtkSettings *settings, GtkSettings *settings,
GScanner *scanner); GScanner *scanner);
/* Combine RC style data from src into dest. If overridden, this /* Combine RC style data from src into dest. If overridden, this
* function should chain to the parent. * function should chain to the parent.
*/ */

View File

@ -2,7 +2,7 @@
* Recent chooser action for GtkUIManager * Recent chooser action for GtkUIManager
* *
* Copyright (C) 2007, Emmanuele Bassi * Copyright (C) 2007, Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -45,7 +45,7 @@ typedef struct _GtkRecentActionClass GtkRecentActionClass;
struct _GtkRecentAction struct _GtkRecentAction
{ {
GtkAction parent_instance; GtkAction parent_instance;
/*< private >*/ /*< private >*/
GtkRecentActionPrivate *priv; GtkRecentActionPrivate *priv;
}; };

View File

@ -2,7 +2,7 @@
* gtkrecentchooser.h - Abstract interface for recent file selectors GUIs * gtkrecentchooser.h - Abstract interface for recent file selectors GUIs
* *
* Copyright (C) 2006, Emmanuele Bassi * Copyright (C) 2006, Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -82,7 +82,7 @@ GQuark gtk_recent_chooser_error_quark (void);
struct _GtkRecentChooserIface struct _GtkRecentChooserIface
{ {
GTypeInterface base_iface; GTypeInterface base_iface;
/* /*
* Methods * Methods
*/ */
@ -108,7 +108,7 @@ struct _GtkRecentChooserIface
GtkRecentSortFunc sort_func, GtkRecentSortFunc sort_func,
gpointer data, gpointer data,
GDestroyNotify destroy); GDestroyNotify destroy);
/* /*
* Signals * Signals
*/ */

View File

@ -1,7 +1,7 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtkrecentchooserdialog.h: Recent files selector dialog * gtkrecentchooserdialog.h: Recent files selector dialog
* Copyright (C) 2006 Emmanuele Bassi * Copyright (C) 2006 Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -47,7 +47,7 @@ struct _GtkRecentChooserDialog
{ {
/*< private >*/ /*< private >*/
GtkDialog parent_instance; GtkDialog parent_instance;
GtkRecentChooserDialogPrivate *priv; GtkRecentChooserDialogPrivate *priv;
}; };

View File

@ -1,7 +1,7 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtkrecentchoosermenu.h - Recently used items menu widget * gtkrecentchoosermenu.h - Recently used items menu widget
* Copyright (C) 2006, Emmanuele Bassi * Copyright (C) 2006, Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -52,7 +52,7 @@ struct _GtkRecentChooserMenu
struct _GtkRecentChooserMenuClass struct _GtkRecentChooserMenuClass
{ {
GtkMenuClass parent_class; GtkMenuClass parent_class;
/* padding for future expansion */ /* padding for future expansion */
void (* gtk_recent1) (void); void (* gtk_recent1) (void);
void (* gtk_recent2) (void); void (* gtk_recent2) (void);

View File

@ -1,7 +1,7 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtkrecentchooserwidget.h: embeddable recently used resources chooser widget * gtkrecentchooserwidget.h: embeddable recently used resources chooser widget
* Copyright (C) 2006 Emmanuele Bassi * Copyright (C) 2006 Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -46,7 +46,7 @@ struct _GtkRecentChooserWidget
{ {
/*< private >*/ /*< private >*/
GtkVBox parent_instance; GtkVBox parent_instance;
GtkRecentChooserWidgetPrivate *priv; GtkRecentChooserWidgetPrivate *priv;
}; };

View File

@ -1,7 +1,7 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtkrecentfilter.h - Filter object for recently used resources * gtkrecentfilter.h - Filter object for recently used resources
* Copyright (C) 2006, Emmanuele Bassi * Copyright (C) 2006, Emmanuele Bassi
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -57,7 +57,7 @@ struct _GtkRecentFilterInfo
const gchar *mime_type; const gchar *mime_type;
const gchar **applications; const gchar **applications;
const gchar **groups; const gchar **groups;
gint age; gint age;
}; };

View File

@ -57,8 +57,8 @@ typedef struct _GtkRecentManagerPrivate GtkRecentManagerPrivate;
* @app_name: the name of the application that is registering this recently * @app_name: the name of the application that is registering this recently
* used resource; * used resource;
* @app_exec: command line used to launch this resource; may contain the * @app_exec: command line used to launch this resource; may contain the
* "&percnt;f" and "&percnt;u" escape characters which will be expanded * "&percnt;f" and "&percnt;u" escape characters which will be expanded
* to the resource file path and URI respectively when the command line * to the resource file path and URI respectively when the command line
* is retrieved; * is retrieved;
* @groups: a vector of strings containing groups names; * @groups: a vector of strings containing groups names;
* @is_private: whether this resource should be displayed only by the * @is_private: whether this resource should be displayed only by the
@ -71,14 +71,14 @@ struct _GtkRecentData
{ {
gchar *display_name; gchar *display_name;
gchar *description; gchar *description;
gchar *mime_type; gchar *mime_type;
gchar *app_name; gchar *app_name;
gchar *app_exec; gchar *app_exec;
gchar **groups; gchar **groups;
gboolean is_private; gboolean is_private;
}; };
@ -86,7 +86,7 @@ struct _GtkRecentManager
{ {
/*< private >*/ /*< private >*/
GObject parent_instance; GObject parent_instance;
GtkRecentManagerPrivate *priv; GtkRecentManagerPrivate *priv;
}; };
@ -94,9 +94,9 @@ struct _GtkRecentManagerClass
{ {
/*< private >*/ /*< private >*/
GObjectClass parent_class; GObjectClass parent_class;
void (*changed) (GtkRecentManager *manager); void (*changed) (GtkRecentManager *manager);
/* padding for future expansion */ /* padding for future expansion */
void (*_gtk_recent1) (void); void (*_gtk_recent1) (void);
void (*_gtk_recent2) (void); void (*_gtk_recent2) (void);

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
/* /*

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -63,8 +63,8 @@ struct _GtkScaleClass
GtkRangeClass parent_class; GtkRangeClass parent_class;
gchar* (* format_value) (GtkScale *scale, gchar* (* format_value) (GtkScale *scale,
gdouble value); gdouble value);
void (* draw_value) (GtkScale *scale); void (* draw_value) (GtkScale *scale);
void (* get_layout_offsets) (GtkScale *scale, void (* get_layout_offsets) (GtkScale *scale,

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -75,7 +75,7 @@ struct _GtkScrolledWindow
struct _GtkScrolledWindowClass struct _GtkScrolledWindowClass
{ {
GtkBinClass parent_class; GtkBinClass parent_class;
gint scrollbar_spacing; gint scrollbar_spacing;
/* Action signals for keybindings. Do not connect to these signals /* Action signals for keybindings. Do not connect to these signals

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
@ -62,7 +62,7 @@ struct _GtkSelectionData
GdkAtom target; GdkAtom target;
GdkAtom type; GdkAtom type;
gint format; gint format;
guchar *data; guchar *data;
gint length; gint length;
GdkDisplay *display; GdkDisplay *display;
}; };
@ -74,7 +74,7 @@ struct _GtkTargetEntry {
}; };
/* These structures not public, and are here only for the convenience of /* These structures not public, and are here only for the convenience of
* gtkdnd.c * gtkdnd.c
*/ */
typedef struct _GtkTargetPair GtkTargetPair; typedef struct _GtkTargetPair GtkTargetPair;

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -21,7 +21,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS * 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 * file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with * files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/ */
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)

View File

@ -44,7 +44,7 @@ typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate;
struct _GtkSeparatorToolItem struct _GtkSeparatorToolItem
{ {
GtkToolItem parent; GtkToolItem parent;
/*< private >*/ /*< private >*/
GtkSeparatorToolItemPrivate *priv; GtkSeparatorToolItemPrivate *priv;
}; };

View File

@ -23,7 +23,7 @@
#ifndef __GTK_SETTINGS_H__ #ifndef __GTK_SETTINGS_H__
#define __GTK_SETTINGS_H__ #define __GTK_SETTINGS_H__
#include <gtk/gtkrc.h> #include <gtk/gtkrc.h>
G_BEGIN_DECLS G_BEGIN_DECLS
@ -54,11 +54,12 @@ struct _GtkSettings
GtkRcContext *rc_context; GtkRcContext *rc_context;
GdkScreen *screen; GdkScreen *screen;
}; };
struct _GtkSettingsClass struct _GtkSettingsClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
}; };
struct _GtkSettingsValue struct _GtkSettingsValue
{ {
/* origin should be something like "filename:linenumber" for rc files, /* origin should be something like "filename:linenumber" for rc files,
@ -79,7 +80,7 @@ GType gtk_settings_get_type (void) G_GNUC_CONST;
GtkSettings* gtk_settings_get_default (void); GtkSettings* gtk_settings_get_default (void);
#endif #endif
GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen);
void gtk_settings_install_property (GParamSpec *pspec); void gtk_settings_install_property (GParamSpec *pspec);
void gtk_settings_install_property_parser (GParamSpec *pspec, void gtk_settings_install_property_parser (GParamSpec *pspec,
GtkRcPropertyParser parser); GtkRcPropertyParser parser);

View File

@ -1,5 +1,5 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* gtksizegroup.h: * gtksizegroup.h:
* Copyright (C) 2000 Red Hat Software * Copyright (C) 2000 Red Hat Software
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -48,7 +48,7 @@ struct _GtkSizeGroup
GSList *widgets; GSList *widgets;
guint8 mode; guint8 mode;
guint have_width : 1; guint have_width : 1;
guint have_height : 1; guint have_height : 1;
guint ignore_hidden : 1; guint ignore_hidden : 1;
@ -69,11 +69,11 @@ struct _GtkSizeGroupClass
/** /**
* GtkSizeGroupMode: * GtkSizeGroupMode:
* @GTK_SIZE_GROUP_NONE: group has no effect * @GTK_SIZE_GROUP_NONE: group has no effect
* @GTK_SIZE_GROUP_HORIZONTAL: group affects horizontal requisition * @GTK_SIZE_GROUP_HORIZONTAL: group affects horizontal requisition
* @GTK_SIZE_GROUP_VERTICAL: group affects vertical requisition * @GTK_SIZE_GROUP_VERTICAL: group affects vertical requisition
* @GTK_SIZE_GROUP_BOTH: group affects both horizontal and vertical requisition * @GTK_SIZE_GROUP_BOTH: group affects both horizontal and vertical requisition
* *
* The mode of the size group determines the directions in which the size * The mode of the size group determines the directions in which the size
* group affects the requested sizes of its component widgets. * group affects the requested sizes of its component widgets.
**/ **/

Some files were not shown because too many files have changed in this diff Show More