Minor formatting.

git-svn-id: svn://10.0.0.236/trunk@27710 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com
1999-04-15 21:49:36 +00:00
parent a46836e7ab
commit c836a4a3e5

View File

@@ -136,9 +136,11 @@ nsresult nsSelectionMgr::GetCopyOStream(ostream** aStream)
nsresult NS_NewSelectionMgr(nsISelectionMgr** aInstancePtrResult)
{
#ifndef NEW_CLIPBOARD_SUPPORT
nsSelectionMgr* sm = new nsSelectionMgr;
static nsIID iid = NS_ISELECTIONMGR_IID;
return sm->QueryInterface(iid, (void**) aInstancePtrResult);
#endif
}
//
@@ -176,9 +178,10 @@ void nsSelectionMgr::SetTopLevelWidget(GtkWidget* w)
// Hmm, sometimes we need this, sometimes not. I'm not clear why:
// Register all the target types we handle:
gtk_selection_add_target(sWidget, GDK_SELECTION_PRIMARY,
gtk_selection_add_target(sWidget,
GDK_SELECTION_PRIMARY,
GDK_SELECTION_TYPE_STRING,
GDK_SELECTION_TYPE_STRING);
GDK_SELECTION_TYPE_STRING);
// Need to add entries for whatever it is that emacs uses
// Need to add entries for XIF and HTML
}