progressbar: Remove act_mode_enter vfunc

It doesn't make sense to have a vfunc for this.
This commit is contained in:
Benjamin Otte 2010-07-31 16:09:11 +02:00
parent 97f361c98f
commit 5e8c274e32
2 changed files with 1 additions and 5 deletions

View File

@ -112,8 +112,6 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
widget_class->size_request = gtk_progress_bar_size_request;
widget_class->size_allocate = gtk_progress_bar_size_allocate;
class->act_mode_enter = gtk_progress_bar_act_mode_enter;
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
@ -933,7 +931,7 @@ gtk_progress_bar_set_activity_mode (GtkProgressBar *pbar,
priv->activity_mode = activity_mode;
if (priv->activity_mode)
GTK_PROGRESS_BAR_GET_CLASS (pbar)->act_mode_enter (pbar);
gtk_progress_bar_act_mode_enter (pbar);
if (gtk_widget_is_drawable (GTK_WIDGET (pbar)))
gtk_widget_queue_resize (GTK_WIDGET (pbar));

View File

@ -67,8 +67,6 @@ struct _GtkProgressBarClass
{
GtkWidgetClass parent_class;
void (* act_mode_enter) (GtkProgressBar *progress);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);