From: joncruz Date: Wed, 21 Mar 2007 23:57:13 +0000 (+0000) Subject: Correction for tooltips addition X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=769370b832770f2cdcb9e3ce77d18b216feb8fcf;p=inkscape.git Correction for tooltips addition --- diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp index abe021cf7..2d303c63d 100644 --- a/src/ege-adjustment-action.cpp +++ b/src/ege-adjustment-action.cpp @@ -724,10 +724,10 @@ static GtkWidget* create_tool_item( GtkAction* action ) g_object_get_property( G_OBJECT(action), "tooltip", &tooltip ); const gchar* tipstr = g_value_get_string( &tooltip ); if ( tipstr && *tipstr ) { - if ( !action->private_data->toolTips ) { - action->private_data->toolTips = gtk_tooltips_new(); + if ( !act->private_data->toolTips ) { + act->private_data->toolTips = gtk_tooltips_new(); } - gtk_tooltips_set_tip( action->private_data->toolTips, spinbutton, tipstr, 0 ); + gtk_tooltips_set_tip( act->private_data->toolTips, spinbutton, tipstr, 0 ); } }