From 057f3639a384961b5cb15cbf56f6fb5db5963859 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 4 Jul 1999 06:41:19 +0000 Subject: 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 --- summary.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'summary.c') diff --git a/summary.c b/summary.c index 7429d751f4..ca98e0b036 100644 --- a/summary.c +++ b/summary.c @@ -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 @@ -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); } -- cgit v1.2.3