app: port GimpScalComboBox to GTK+ 3.0

This commit is contained in:
Michael Natterer 2010-10-19 12:21:11 +02:00
parent 3c8d9a1de8
commit e888be6a9a
2 changed files with 8 additions and 7 deletions

View File

@ -146,6 +146,7 @@ gimp_scale_combo_box_constructed (GObject *object)
entry = gtk_bin_get_child (GTK_BIN (combo_box));
g_object_set (entry,
"has-entry", TRUE,
"xalign", 1.0,
"width-chars", 5,
"truncate-multiline", TRUE,

View File

@ -32,13 +32,6 @@
typedef struct _GimpScaleComboBoxClass GimpScaleComboBoxClass;
struct _GimpScaleComboBoxClass
{
GtkComboBoxClass parent_instance;
void (* entry_activated) (GimpScaleComboBox *combo_box);
};
struct _GimpScaleComboBox
{
GtkComboBox parent_instance;
@ -48,6 +41,13 @@ struct _GimpScaleComboBox
GList *mru;
};
struct _GimpScaleComboBoxClass
{
GtkComboBoxClass parent_instance;
void (* entry_activated) (GimpScaleComboBox *combo_box);
};
GType gimp_scale_combo_box_get_type (void) G_GNUC_CONST;