diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-07-04 06:41:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-07-04 06:41:19 +0000 |
commit | 057f3639a384961b5cb15cbf56f6fb5db5963859 (patch) | |
tree | e31cd7f5ff66fe7d822e95f044d2d9228155c6c6 /summary.c | |
parent | 4cef485bd490c01ce5480fbab1da0e58eddbe297 (diff) |
In GTK+ 1.0[.x], "gtk_window_set_position()" was called
"gtk_window_position()", so use "gtk_window_position()" if we're using
GTK+ 1.0[.x].
svn path=/trunk/; revision=336
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* summary.c * Routines for capture file summary window * - * $Id: summary.c,v 1.1 1999/06/22 22:02:12 gram Exp $ + * $Id: summary.c,v 1.2 1999/07/04 06:41:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -295,7 +295,11 @@ traffic_bytes/seconds); sprintf(string_buff, "Capture filter: none"); } add_string_to_box(string_buff, capture_box); +#if (GTK_MINOR_VERSION > 1) || ((GTK_MICRO_VERSION > 1) && (GTK_MINOR_VERSION > 0)) gtk_window_set_position(GTK_WINDOW(sum_open_w), GTK_WIN_POS_MOUSE); +#else + gtk_window_position(GTK_WINDOW(sum_open_w), GTK_WIN_POS_MOUSE); +#endif gtk_widget_show(sum_open_w); } |