From c836a4a3e5ae3ce1db8b6066f129a86e20b91693 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 15 Apr 1999 21:49:36 +0000 Subject: [PATCH] Minor formatting. git-svn-id: svn://10.0.0.236/trunk@27710 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsSelectionMgr.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/widget/src/gtk/nsSelectionMgr.cpp b/mozilla/widget/src/gtk/nsSelectionMgr.cpp index 7c30458d493..77c91840d8b 100644 --- a/mozilla/widget/src/gtk/nsSelectionMgr.cpp +++ b/mozilla/widget/src/gtk/nsSelectionMgr.cpp @@ -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 }