X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkcombobox.h;h=03d25ff3d03492b80fee407516ad51d5cbda671d;hb=563eb60666d9f72c38d7542b0ab37841e6aac488;hp=6156659c97b99344e3db801aba1cc1f9f3c12f99;hpb=7ae4a06d1f2591a95f521660a587b3d28a756e69;p=~andy%2Fgtk diff --git a/gtk/gtkcombobox.h b/gtk/gtkcombobox.h index 6156659c9..03d25ff3d 100644 --- a/gtk/gtkcombobox.h +++ b/gtk/gtkcombobox.h @@ -12,18 +12,16 @@ * 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 . */ +#ifndef __GTK_COMBO_BOX_H__ +#define __GTK_COMBO_BOX_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_COMBO_BOX_H__ -#define __GTK_COMBO_BOX_H__ - #include #include #include @@ -54,13 +52,14 @@ struct _GtkComboBoxClass GtkBinClass parent_class; /* signals */ - void (* changed) (GtkComboBox *combo_box); + void (* changed) (GtkComboBox *combo_box); + gchar *(* format_entry_text) (GtkComboBox *combo_box, + const gchar *path); /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); }; @@ -88,8 +87,8 @@ gboolean gtk_combo_box_get_add_tearoffs (GtkComboBox *combo_box); void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box, gboolean add_tearoffs); -G_CONST_RETURN gchar *gtk_combo_box_get_title (GtkComboBox *combo_box); -void gtk_combo_box_set_title (GtkComboBox *combo_box, +const gchar * gtk_combo_box_get_title (GtkComboBox *combo_box); +void gtk_combo_box_set_title (GtkComboBox *combo_box, const gchar *title); gboolean gtk_combo_box_get_focus_on_click (GtkComboBox *combo);