summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-06-02 19:59:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-06-02 19:59:41 -0400
commit6a8a2f7ef3cad46c76af157d7049d9e3b6ad5752 (patch)
tree3c58bec35498b55b83c99ac039971b04e9f8f6ba /gtk/gtkprogressbar.h
parentee0d695a91fee5c8c2260d85750ce2328d4b8007 (diff)
downloadgtk+-6a8a2f7ef3cad46c76af157d7049d9e3b6ad5752.tar.gz
Remove docs about 1.2 <> 2.0 differences
These should not be kept in 3.0. Noticed by Dan Winship in bug #619838.
Diffstat (limited to 'gtk/gtkprogressbar.h')
-rw-r--r--gtk/gtkprogressbar.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/gtk/gtkprogressbar.h b/gtk/gtkprogressbar.h
index cefe6f12f7..625825fa03 100644
--- a/gtk/gtkprogressbar.h
+++ b/gtk/gtkprogressbar.h
@@ -98,33 +98,6 @@ struct _GtkProgressBarClass
GType gtk_progress_bar_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_progress_bar_new (void);
-/*
- * GtkProgress/GtkProgressBar had serious problems in GTK 1.2.
- *
- * - Only 3 or 4 functions are really needed for 95% of progress
- * interfaces; GtkProgress[Bar] had about 25 functions, and
- * didn't even include these 3 or 4.
- * - In activity mode, the API involves setting the adjustment
- * to any random value, just to have the side effect of
- * calling the progress bar update function - the adjustment
- * is totally ignored in activity mode
- * - You set the activity step as a pixel value, which means to
- * set the activity step you basically need to connect to
- * size_allocate
- * - There are ctree_set_expander_style()-functions, to randomly
- * change look-and-feel for no good reason
- * - The split between GtkProgress and GtkProgressBar makes no sense
- * to me whatsoever.
- *
- * This was a big wart on GTK and made people waste lots of time,
- * both learning and using the interface.
- *
- * So, I have added what I feel is the correct API, and marked all the
- * rest deprecated. However, the changes are 100% backward-compatible and
- * should break no existing code.
- *
- * The following 9 functions are the new programming interface.
- */
void gtk_progress_bar_pulse (GtkProgressBar *pbar);
void gtk_progress_bar_set_text (GtkProgressBar *pbar,
const gchar *text);