diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-04 06:41:19 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-04 06:41:19 +0000 |
commit | f20c8c5e60affc34031baa5c8e11a4f0e12a5728 (patch) | |
tree | e31cd7f5ff66fe7d822e95f044d2d9228155c6c6 /summary.c | |
parent | 5de30ee82a4d4b12db307f067ea9ad1bcc78062c (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].
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@336 f5534014-38df-0310-8fa8-9805f1628bb7
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); } |