X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkfilechooserbutton.h;h=2caadf3927e0fb9765a2c3d2058638af881f9125;hb=b5ee44b419a5daa01605af8cd419b03d9e21926c;hp=4d9311726f5c66b37abe0b6e3673f023b4d852a6;hpb=0c19c584d89f160d88f6487760c347c459fcce2e;p=~andy%2Fgtk diff --git a/gtk/gtkfilechooserbutton.h b/gtk/gtkfilechooserbutton.h index 4d9311726..2caadf392 100644 --- a/gtk/gtkfilechooserbutton.h +++ b/gtk/gtkfilechooserbutton.h @@ -13,19 +13,17 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ -#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_FILE_CHOOSER_BUTTON_H__ #define __GTK_FILE_CHOOSER_BUTTON_H__ -#include +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#include #include G_BEGIN_DECLS @@ -43,37 +41,32 @@ typedef struct _GtkFileChooserButtonClass GtkFileChooserButtonClass; struct _GtkFileChooserButton { - /*< private >*/ - GtkHBox parent; + GtkBox parent; - GtkFileChooserButtonPrivate *GSEAL (priv); + /*< private >*/ + GtkFileChooserButtonPrivate *priv; }; struct _GtkFileChooserButtonClass { /*< private >*/ - GtkHBoxClass parent_class; + GtkBoxClass parent_class; void (* file_set) (GtkFileChooserButton *fc); + /* Padding for future expansion */ void (*__gtk_reserved1); void (*__gtk_reserved2); void (*__gtk_reserved3); void (*__gtk_reserved4); - void (*__gtk_reserved5); - void (*__gtk_reserved6); - void (*__gtk_reserved7); }; GType gtk_file_chooser_button_get_type (void) G_GNUC_CONST; GtkWidget * gtk_file_chooser_button_new (const gchar *title, GtkFileChooserAction action); -GtkWidget * gtk_file_chooser_button_new_with_backend (const gchar *title, - GtkFileChooserAction action, - const gchar *backend); GtkWidget * gtk_file_chooser_button_new_with_dialog (GtkWidget *dialog); -G_CONST_RETURN gchar *gtk_file_chooser_button_get_title (GtkFileChooserButton *button); +const gchar * gtk_file_chooser_button_get_title (GtkFileChooserButton *button); void gtk_file_chooser_button_set_title (GtkFileChooserButton *button, const gchar *title); gint gtk_file_chooser_button_get_width_chars (GtkFileChooserButton *button);