fix a warning by removing now unused code

svn path=/trunk/; revision=19051
This commit is contained in:
Ulf Lamping 2006-08-27 10:41:30 +00:00
parent 8618db09eb
commit 8ed01f4cb7
3 changed files with 0 additions and 29 deletions

View File

@ -649,7 +649,6 @@ capture_if_cb(GtkWidget *w _U_, gpointer d _U_)
/* details button */
#ifdef _WIN32
if_dlg_data->details_bt = BUTTON_NEW_FROM_STOCK(WIRESHARK_STOCK_CAPTURE_DETAILS);
gtk_container_add (GTK_CONTAINER (if_dlg_data->details_bt), xpm_box(capture_details_16_xpm));
SIGNAL_CONNECT(if_dlg_data->details_bt, "clicked", capture_details_cb, if_dlg_data);
gtk_tooltips_set_tip(tooltips, if_dlg_data->details_bt,
"Open the capture details dialog of this interface.", NULL);

View File

@ -573,26 +573,6 @@ GtkWidget *xpm_to_widget(const char ** xpm) {
return xpm_to_widget_from_parent(top_level, xpm);
}
/* Create a new hbox with an image packed into it
* and return the box. */
GtkWidget *xpm_box( gchar **xpm )
{
GtkWidget *box;
GtkWidget *image;
/* Create box for image */
box = gtk_hbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 3);
/* Now on to the image stuff */
image = xpm_to_widget (xpm);
/* Pack the image into the box */
gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 3);
return box;
}
/* Set the name of the top-level window and its icon to the specified
string. */

View File

@ -291,14 +291,6 @@ extern GtkWidget *xpm_to_widget(const char ** xpm);
*/
extern GtkWidget *xpm_to_widget_from_parent(GtkWidget *parent, const char ** xpm);
/** Create a new hbox with an image packed into it
* and return the box.
*
* @param xpm the character array containing the picture
* @return a newly created GtkHBox containing the picture
*/
GtkWidget *xpm_box( gchar **xpm );
/** Copy a GString to the clipboard.
*
* @param str GString that is to be copied to the clipboard.