mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-24 21:55:38 +00:00
Fix warning
This commit is contained in:
1 parent
ae04663aa9
commit
51cdcfca82
1 file changed
+1
-1
@@ -314,7 +314,7 @@ notifygui_add_cb (GtkDialog *dialog, gint response, gpointer entry)
|
||||
text = (char *)gtk_entry_get_text (GTK_ENTRY (entry));
|
||||
if (text[0] && response == GTK_RESPONSE_ACCEPT)
|
||||
{
|
||||
networks = gtk_entry_get_text (GTK_ENTRY (g_object_get_data (G_OBJECT (entry), "net")));
|
||||
networks = (char*)gtk_entry_get_text (GTK_ENTRY (g_object_get_data (G_OBJECT (entry), "net")));
|
||||
if (g_ascii_strcasecmp (networks, "ALL") == 0 || networks[0] == 0)
|
||||
notify_adduser (text, NULL);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user