Code

Correction for tooltips addition
authorjoncruz <joncruz@users.sourceforge.net>
Wed, 21 Mar 2007 23:57:13 +0000 (23:57 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Wed, 21 Mar 2007 23:57:13 +0000 (23:57 +0000)
src/ege-adjustment-action.cpp

index abe021cf739b485381928442c22b55ed96e8fafd..2d303c63d6a21dfecf67711b697b1cef5759da87 100644 (file)
@@ -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 );
             }
         }