From 6e4b15818f03c0877ed6585ebece67d77290aca5 Mon Sep 17 00:00:00 2001 From: oabad Date: Tue, 16 Dec 2003 18:43:35 +0000 Subject: Use gtk compatibility macros (from compat_macros.h) instead of some gtk+ v1.2 functions which are deprecated in gtk+ v2. Update OBJECT_SET_DATA macros to cast "data" to (gpointer). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9296 f5534014-38df-0310-8fa8-9805f1628bb7 --- gtk/mgcp_stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/mgcp_stat.c') diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c index 7693b21412..5742d5f138 100644 --- a/gtk/mgcp_stat.c +++ b/gtk/mgcp_stat.c @@ -2,7 +2,7 @@ * mgcp-statistics for ethereal * Copyright 2003 Lars Roland * - * $Id: mgcp_stat.c,v 1.18 2003/12/04 00:45:39 guy Exp $ + * $Id: mgcp_stat.c,v 1.19 2003/12/16 18:43:34 oabad Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -376,7 +376,7 @@ gtk_mgcpstat_cb(GtkWidget *w _U_, gpointer d _U_) /* Filter entry */ filter_entry=gtk_entry_new(); - gtk_widget_set_usize(filter_entry, 300, -2); + WIDGET_SET_SIZE(filter_entry, 300, -2); gtk_box_pack_start(GTK_BOX(filter_box), filter_entry, TRUE, TRUE, 0); filter=gtk_entry_get_text(GTK_ENTRY(main_display_filter_widget)); if(filter){ -- cgit v1.2.3