Mercurial > pidgin.yaz
diff pidgin/gtkimhtml.c @ 21866:03c950701fac
Move some curly braces around so static analysis tools can properly detect
functions without having to preprocess the source
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 18 Dec 2007 15:56:06 +0000 |
parents | 9a39d47a9cd3 |
children | 65e23b7a4398 |
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c Tue Dec 18 15:53:05 2007 +0000 +++ b/pidgin/gtkimhtml.c Tue Dec 18 15:56:06 2007 +0000 @@ -1136,14 +1136,13 @@ #ifdef _WIN32 /* If we're on windows, let's see if we can get data from the HTML Format clipboard before we try to paste from the GTK buffer */ - if (!clipboard_paste_html_win32(imhtml)) { + if (!clipboard_paste_html_win32(imhtml)) #endif + { GtkClipboard *clipboard = gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD); gtk_clipboard_request_contents(clipboard, gdk_atom_intern("text/html", FALSE), paste_received_cb, imhtml); -#ifdef _WIN32 } -#endif g_signal_stop_emission_by_name(imhtml, "paste-clipboard"); } @@ -3483,6 +3482,9 @@ return; } #endif /* FILECHOOSER */ +#if 0 /* mismatched curly braces */ + } +#endif /* * XXX - We should probably prompt the user to determine if they really