Commit fc85da54 authored by Matthias Clasen's avatar Matthias Clasen

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)
parent 251e37b6
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.
......
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.
......
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.
......
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.
......
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.
......
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.
......
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.
......
......@@ -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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment