From Alejandro, fix for GTK1 graph_analysis issue.

svn path=/trunk/; revision=14757
This commit is contained in:
Ronnie Sahlberg 2005-06-26 00:12:15 +00:00
parent ae7413d740
commit cc3b0df4ca
1 changed files with 3 additions and 0 deletions

View File

@ -707,8 +707,11 @@ static void dialog_graph_draw(graph_analysis_data_t* user_data)
#endif
/* resize the "time" draw area */
#if GTK_MAJOR_VERSION >= 2
/* in GTK 1 it causes a loop of configure events */
WIDGET_SET_SIZE(user_data->dlg.draw_area_time, label_width + 6, user_data->dlg.pixmap_height);
gtk_widget_show(user_data->dlg.draw_area_time);
#endif
left_x_border=3;
user_data->dlg.left_x_border = left_x_border;