Commit 7f4ca813 authored by German Poo-Caaman~o's avatar German Poo-Caaman~o Committed by Germán Poó Caamaño

Fixed warning in GtkDialog.

2004-05-11  German Poo-Caaman~o <gpoo@ubiobio.cl>

	* src/nettool.c (netinfo_validate_host): Fixed warning in
	  GtkDialog.
parent f192c6fe
2004-05-11 German Poo-Caaman~o <gpoo@ubiobio.cl>
* src/nettool.c (netinfo_validate_host): Fixed warning in
GtkDialog.
2004-05-11 German Poo-Caaman~o <gpoo@ubiobio.cl>
* src/Makefile.am: Fixed variable typo (It was
......
......@@ -76,7 +76,7 @@ netinfo_set_host (Netinfo * netinfo, const gchar *host)
}
gboolean
netinfo_is_ipv6_enable ()
netinfo_is_ipv6_enable (void)
{
gint sock;
struct sockaddr_in6 sin6;
......@@ -199,8 +199,6 @@ netinfo_validate_host (Netinfo * netinfo)
message);
gtk_label_set_use_markup
(GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
gtk_dialog_set_has_separator (GTK_DIALOG (dialog),
FALSE);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
g_free (message);
......@@ -224,7 +222,7 @@ void
netinfo_text_buffer_insert (Netinfo * netinfo)
{
gchar *dir = g_get_current_dir ();
gint child_pid, pout, perr;
gint child_pid, pout; /* , perr; */
GIOChannel *channel;
GError *err = NULL;
......
......@@ -118,7 +118,7 @@ gushort netinfo_get_count (Netinfo * netinfo);
const gchar * netinfo_get_host (Netinfo * netinfo);
const gchar * netinfo_get_user (Netinfo * netinfo);
void netinfo_set_host (Netinfo * netinfo, const gchar *host);
gboolean netinfo_is_ipv6_enable ();
gboolean netinfo_is_ipv6_enable (void);
void netinfo_set_user (Netinfo * netinfo, const gchar *user);
gint netinfo_get_ip_version (Netinfo * netinfo);
gboolean netinfo_validate_host (Netinfo * netinfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment