Mercurial > pidgin.yaz
comparison src/prefs.c @ 2048:3366311426df
[gaim-migrate @ 2058]
little things
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 17 Jun 2001 08:37:44 +0000 |
parents | 1bfef3e8ba63 |
children | a4367a6478eb |
comparison
equal
deleted
inserted
replaced
2047:21f1f1e0d4c5 | 2048:3366311426df |
---|---|
1038 items = g_list_append(NULL, item); | 1038 items = g_list_append(NULL, item); |
1039 | 1039 |
1040 while (c) { | 1040 while (c) { |
1041 if (c - text > len - 30) | 1041 if (c - text > len - 30) |
1042 break; /* assume no chat rooms 30 from end, padding */ | 1042 break; /* assume no chat rooms 30 from end, padding */ |
1043 if (!strncasecmp(AOL_SRCHSTR, c, strlen(AOL_SRCHSTR))) { | 1043 if (!g_strncasecmp(AOL_SRCHSTR, c, strlen(AOL_SRCHSTR))) { |
1044 char *t; | 1044 char *t; |
1045 int len = 0; | 1045 int len = 0; |
1046 int exchange; | 1046 int exchange; |
1047 char *name = NULL; | 1047 char *name = NULL; |
1048 | 1048 |
1094 } else | 1094 } else |
1095 return; | 1095 return; |
1096 | 1096 |
1097 while (crs) { | 1097 while (crs) { |
1098 cr2 = (struct chat_room *)crs->data; | 1098 cr2 = (struct chat_room *)crs->data; |
1099 if (!strcasecmp(cr->name, cr2->name)) | 1099 if (!g_strcasecmp(cr->name, cr2->name)) |
1100 return; | 1100 return; |
1101 crs = crs->next; | 1101 crs = crs->next; |
1102 } | 1102 } |
1103 item = gtk_list_item_new_with_label(cr->name); | 1103 item = gtk_list_item_new_with_label(cr->name); |
1104 cr2 = g_new0(struct chat_room, 1); | 1104 cr2 = g_new0(struct chat_room, 1); |
1704 gtk_widget_show(prefdialog); | 1704 gtk_widget_show(prefdialog); |
1705 } | 1705 } |
1706 | 1706 |
1707 static struct away_message *cur_message; | 1707 static struct away_message *cur_message; |
1708 static GtkWidget *away_text; | 1708 static GtkWidget *away_text; |
1709 static GtkWidget *make_away_button = NULL;; | 1709 static GtkWidget *make_away_button = NULL; |
1710 | 1710 |
1711 void away_list_clicked(GtkWidget *widget, struct away_message *a) | 1711 void away_list_clicked(GtkWidget *widget, struct away_message *a) |
1712 { | 1712 { |
1713 gchar buffer[BUF_LONG]; | 1713 gchar buffer[BUF_LONG]; |
1714 char *tmp; | 1714 char *tmp; |