forked from AuroraMiddleware/gtk
Remove now useless snapshot implementations
This commit is contained in:
parent
8761d4d609
commit
74a51cb5b1
@ -380,16 +380,6 @@ gtk_file_chooser_button_measure (GtkWidget *widget,
|
||||
minimum_baseline, natural_baseline);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_file_chooser_button_snapshot (GtkWidget *widget,
|
||||
GtkSnapshot *snapshot)
|
||||
{
|
||||
GtkFileChooserButton *button = GTK_FILE_CHOOSER_BUTTON (widget);
|
||||
GtkFileChooserButtonPrivate *priv = gtk_file_chooser_button_get_instance_private (button);
|
||||
|
||||
gtk_widget_snapshot_child (widget, priv->child, snapshot);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_file_chooser_button_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation)
|
||||
@ -427,7 +417,6 @@ gtk_file_chooser_button_class_init (GtkFileChooserButtonClass * class)
|
||||
widget_class->state_flags_changed = gtk_file_chooser_button_state_flags_changed;
|
||||
widget_class->measure = gtk_file_chooser_button_measure;
|
||||
widget_class->size_allocate = gtk_file_chooser_button_size_allocate;
|
||||
widget_class->snapshot = gtk_file_chooser_button_snapshot;
|
||||
|
||||
/**
|
||||
* GtkFileChooserButton::file-set:
|
||||
|
@ -462,16 +462,6 @@ gtk_font_button_measure (GtkWidget *widget,
|
||||
minimum_baseline, natural_baseline);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_font_button_snapshot (GtkWidget *widget,
|
||||
GtkSnapshot *snapshot)
|
||||
{
|
||||
GtkFontButton *button = GTK_FONT_BUTTON (widget);
|
||||
GtkFontButtonPrivate *priv = gtk_font_button_get_instance_private (button);
|
||||
|
||||
gtk_widget_snapshot_child (widget, priv->button, snapshot);
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_font_button_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation)
|
||||
@ -499,7 +489,6 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
|
||||
|
||||
widget_class->measure = gtk_font_button_measure;
|
||||
widget_class->size_allocate = gtk_font_button_size_allocate;
|
||||
widget_class->snapshot = gtk_font_button_snapshot;
|
||||
|
||||
klass->font_set = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user