fix build bustage (someone forgot to rename mWidget to sWidget)

This commit is contained in:
alecf%netscape.com 1999-04-15 03:58:06 +00:00
Родитель e50c7fc0ac
Коммит 7cb1433506
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -165,23 +165,23 @@ void nsClipboard::SetTopLevelWidget(GtkWidget* w)
{
// Don't set up any more event handlers if we're being called twice
// for the same toplevel widget
if (mWidget == w)
if (sWidget == w)
return;
mWidget = w;
sWidget = w;
// Respond to requests for the selection:
gtk_signal_connect(GTK_OBJECT(mWidget), "selection_get",
gtk_signal_connect(GTK_OBJECT(sWidget), "selection_get",
GTK_SIGNAL_FUNC(nsClipboard::SelectionRequestCB),
0);
// When someone else takes the selection away:
gtk_signal_connect(GTK_OBJECT(mWidget), "selection_clear_event",
gtk_signal_connect(GTK_OBJECT(sWidget), "selection_clear_event",
GTK_SIGNAL_FUNC(nsClipboard::SelectionClearCB),
0);
// Set up the paste handler:
gtk_signal_connect(GTK_OBJECT(mWidget), "selection_received",
gtk_signal_connect(GTK_OBJECT(sWidget), "selection_received",
GTK_SIGNAL_FUNC(nsClipboard::SelectionReceivedCB),
0);