changeset 1079:537873e68ea6

The field "name" isn't used anymore
author Mikael Berthe <mikael@lilotux.net>
date Mon, 04 Dec 2006 22:20:26 +0100
parents 7866dbaf67a6
children 4ce46a278336
files mcabber/src/screen.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/screen.c	Mon Dec 04 22:13:13 2006 +0100
+++ b/mcabber/src/screen.c	Mon Dec 04 22:20:26 2006 +0100
@@ -57,7 +57,6 @@
 typedef struct {
   WINDOW *win;
   PANEL  *panel;
-  char   *name;
   GList  *hbuf;
   GList  *top;      // If top is NULL, we'll display the last lines
   char    cleared;  // For ex, user has issued a /clear command...
@@ -443,7 +442,6 @@
   }
   wbkgd(tmp->win, get_color(COLOR_GENERAL));
   tmp->panel = new_panel(tmp->win);
-  tmp->name = g_strdup(title);
 
   if (!dont_show) {
     currentWindow = tmp;
@@ -604,7 +602,6 @@
       if (!statusWindow) {
         statusWindow = scr_CreateBuddyPanel(NULL, FALSE);
         statusWindow->hbuf = statushbuf;
-        statusWindow->name = g_strdup(winId);
       }
       win_entry = statusWindow;
     } else {
@@ -701,7 +698,6 @@
       if (!statusWindow) {
         statusWindow = scr_CreateBuddyPanel(NULL, dont_show);
         statusWindow->hbuf = statushbuf;
-        //statusWindow->name = g_strdup(winId); // (winId NULL)
       }
       win_entry = statusWindow;
     } else {