From 769370b832770f2cdcb9e3ce77d18b216feb8fcf Mon Sep 17 00:00:00 2001 From: joncruz Date: Wed, 21 Mar 2007 23:57:13 +0000 Subject: [PATCH] Correction for tooltips addition --- src/ege-adjustment-action.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); } } -- 2.30.2