comparison pidgin/gtknotify.c @ 22007:c38d72677c8a

Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up the existing warnings. I removed a handful of dead code and cleaned up a couple of things that I stumbled across.
author Richard Laager <rlaager@wiktel.com>
date Thu, 03 Jan 2008 04:57:40 +0000
parents 2a591a5b3322
children d943df776c09
comparison
equal deleted inserted replaced
21975:c7c5e2ff2b04 22007:c38d72677c8a
330 pidgin_set_urgent(GTK_WINDOW(widget), FALSE); 330 pidgin_set_urgent(GTK_WINDOW(widget), FALSE);
331 return 0; 331 return 0;
332 } 332 }
333 333
334 static GtkWidget * 334 static GtkWidget *
335 pidgin_get_mail_dialog() 335 pidgin_get_mail_dialog(void)
336 { 336 {
337 if (mail_dialog == NULL) { 337 if (mail_dialog == NULL) {
338 GtkWidget *dialog = NULL; 338 GtkWidget *dialog = NULL;
339 GtkWidget *label; 339 GtkWidget *label;
340 GtkWidget *sw; 340 GtkWidget *sw;
602 602
603 return FALSE; 603 return FALSE;
604 } 604 }
605 605
606 static GtkIMHtmlOptions 606 static GtkIMHtmlOptions
607 notify_imhtml_options() 607 notify_imhtml_options(void)
608 { 608 {
609 GtkIMHtmlOptions options = 0; 609 GtkIMHtmlOptions options = 0;
610 610
611 if (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/show_incoming_formatting")) 611 if (!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/show_incoming_formatting"))
612 options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES; 612 options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES;