]> Pileus Git - ~andy/gtk/commitdiff
Remove docs about 1.2 <> 2.0 differences
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Jun 2010 23:59:41 +0000 (19:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Jun 2010 23:59:41 +0000 (19:59 -0400)
These should not be kept in 3.0.
Noticed by Dan Winship in bug #619838.

gtk/gtkprogressbar.h
gtk/gtkwidget.c

index cefe6f12f7a455acc64b7cccb6555e428fea37af..625825fa039e94fec89ae3422b7dd14b12936b72 100644 (file)
@@ -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);
index f7d9804400ddf56f1e69ec8bf5748b0f5a400d3a..c8f780f312ae7d813fc0db2c319d3e97b494a292 100644 (file)
@@ -7679,13 +7679,7 @@ gtk_widget_get_root_window (GtkWidget *widget)
  * outside the widget. If returning %TRUE, widgets normally
  * call gtk_widget_grab_focus() to place the focus accordingly;
  * if returning %FALSE, they don't modify the current focus location.
- * 
- * This function replaces gtk_container_focus() from GTK+ 1.2.  
- * It was necessary to check that the child was visible, sensitive, 
- * and focusable before calling gtk_container_focus(). 
- * gtk_widget_child_focus() returns %FALSE if the widget is not 
- * currently in a focusable state, so there's no need for those checks.
- * 
+ *
  * Return value: %TRUE if focus ended up inside @widget
  **/
 gboolean