mirror of https://github.com/GNOME/gimp.git
app: port GimpScalComboBox to GTK+ 3.0
This commit is contained in:
parent
3c8d9a1de8
commit
e888be6a9a
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue