pidgin/gtkdebug.c

changeset 34449
bbcb198650b7
parent 34333
b92698241603
child 35454
cf2a24d01503
equal deleted inserted replaced
34448:e15d91a77cb3 34449:bbcb198650b7
106 DebugWindow *win = (DebugWindow *)user_data; 106 DebugWindow *win = (DebugWindow *)user_data;
107 FILE *fp; 107 FILE *fp;
108 char *tmp; 108 char *tmp;
109 109
110 if ((fp = g_fopen(filename, "w+")) == NULL) { 110 if ((fp = g_fopen(filename, "w+")) == NULL) {
111 purple_notify_error(win, NULL, _("Unable to open file."), NULL); 111 purple_notify_error(win, NULL, _("Unable to open file."), NULL, NULL);
112 return; 112 return;
113 } 113 }
114 114
115 tmp = gtk_webview_get_body_text(GTK_WEBVIEW(win->text)); 115 tmp = gtk_webview_get_body_text(GTK_WEBVIEW(win->text));
116 fprintf(fp, "Pidgin Debug Log : %s\n", purple_date_format_full(NULL)); 116 fprintf(fp, "Pidgin Debug Log : %s\n", purple_date_format_full(NULL));

mercurial