Clarify documentation. (#69026)

* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
        Clarify documentation. (#69026)

        * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
        missing initialization of adjustment. (#69025)
This commit is contained in:
Matthias Clasen 2002-01-18 21:37:31 +00:00
parent 251e37b652
commit fc85da54ca
9 changed files with 63 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -1,3 +1,11 @@
2002-01-18 Matthias Clasen <matthiasc@poet.de>
* gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
Clarify documentation. (#69026)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
missing initialization of adjustment. (#69025)
2002-01-17 Raja R Harinath <harinath@cs.umn.edu>
Simplify Makefiles.

View File

@ -710,8 +710,11 @@ gtk_item_factory_get_widget (GtkItemFactory *ifactory,
* @returns: the widget which corresponds to the given action, or %NULL
* if no widget was found
*
* Obtains the widget which was constructed from the first #GtkItemFactoryEntry
* Obtains the widget which was constructed from the #GtkItemFactoryEntry
* with the given @action.
*
* If there are multiple items with the same action, the result is
* undefined.
*/
GtkWidget*
gtk_item_factory_get_widget_by_action (GtkItemFactory *ifactory,

View File

@ -459,6 +459,9 @@ gtk_progress_bar_size_request (GtkWidget *widget,
if (progress->show_text && pbar->bar_style != GTK_PROGRESS_DISCRETE)
{
if (!progress->adjustment)
gtk_progress_set_adjustment (progress, NULL);
buf = gtk_progress_get_text_from_value (progress, progress->adjustment->upper);
layout = gtk_widget_create_pango_layout (widget, buf);