Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 284181 Details for
Bug 277381
SEGV error moving mouse over window related to XmToolTipGetLabel
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test case for MZ#1388
omtc_#1388.c (text/x-csrc), 1.88 KB, created by
Thomas Woerner
on 2007-12-11 15:18:50 UTC
(
hide
)
Description:
Test case for MZ#1388
Filename:
MIME Type:
Creator:
Thomas Woerner
Created:
2007-12-11 15:18:50 UTC
Size:
1.88 KB
patch
obsolete
>/* > * OpenMotif test case for MZ#1388 > * > * Copyright (C) 2007 Red Hat, Inc. > * Author: Thomas Woerner <twoerner@redhat.com> > * > * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU Library General Public License as published by > * the Free Software Foundation; version 2 only > * > * This program is distributed in the hope that it will be useful, > * but WITHOUT ANY WARRANTY; without even the implied warranty of > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > * GNU Library General Public License for more details. > * > * You should have received a copy of the GNU Library General Public License > * along with this program; if not, write to the Free Software > * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > * Copyright 2004, 2005 Red Hat, Inc. > */ > >#include <Xm/Xm.h> >#include <Xm/MwmUtil.h> >#include <Xm/MainW.h> >#include <Xm/DrawingA.h> >#include <Xm/LabelG.h> > >XtAppContext app; >Display *display; >int interval = 100; > >int update(Widget toplevel, XtIntervalId *id); > >int create() { > Widget shell, mainW, labelG; > XtIntervalId id; > > shell = XtAppCreateShell(NULL, "omtc_1388", topLevelShellWidgetClass, > display, NULL, 0); > mainW = XmCreateMainWindow(shell, "mainW", NULL, 0); > XtManageChild(mainW); > labelG = XmCreateLabelGadget(mainW, "labelG", NULL, 0); > XtManageChild(labelG); > > XtRealizeWidget(shell); > > id = XtAppAddTimeOut(app, interval, (XtTimerCallbackProc) update, > (XtPointer) shell); > return 1; >} > >int destroy(Widget w) { > XtUnmapWidget(w); > XtDestroyWidget(w); > return 1; >} > >int update(Widget w, XtIntervalId *id) { > destroy(w); > create(); > return 1; >} > >int main(int argc, char **argv) { > XtToolkitInitialize(); > app = XtCreateApplicationContext(); > display = XtOpenDisplay(app, "", "omtc_1388", "omtc_1388", NULL, 0, > &argc, argv); > create(); > XtAppMainLoop(app); > return 1; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277381
:
186611
| 284181