Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Files
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
430
Issues
430
List
Boards
Labels
Service Desk
Milestones
Merge Requests
25
Merge Requests
25
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
Files
Commits
a0e01c46
Commit
a0e01c46
authored
Dec 28, 1999
by
John Sullivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Casted away a const to fix the build.
parent
83fe21de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
ChangeLog-20000414
ChangeLog-20000414
+8
-0
src/nautilus-view-frame.c
src/nautilus-view-frame.c
+4
-1
src/ntl-view.c
src/ntl-view.c
+4
-1
No files found.
ChangeLog-20000414
View file @
a0e01c46
1999-12-28 John Sullivan <sullivan@eazel.com>
* src/ntl-view.c: (nautilus_view_load_client): cast
a const CORBA_char * to a CORBA_char * in call to
GNOME_Unknown_query_interface to fix the build.
Darin thinks this is a mistake in the API and is
investigating fixing the API.
1999-12-22 Elliot Lee <sopwith@redhat.com>
* src/ntl-uri-map.[ch]: Add initialization function. Implement scheme mapping.
...
...
src/nautilus-view-frame.c
View file @
a0e01c46
...
...
@@ -339,8 +339,11 @@ nautilus_view_load_client(NautilusView *view, const char *iid)
for
(
i
=
0
;
component_types
[
i
]
&&
!
view
->
component_class
;
i
++
)
{
/* FIXME: (CORBA_char *) cast required because API won't take const CORBA_char *.
* GNOME_Unknown_query_interface should be changed to allow const CORBA_char * for 2nd parameter.
*/
obj
=
GNOME_Unknown_query_interface
(
gnome_object_corba_objref
(
GNOME_OBJECT
(
view
->
client_object
)),
component_types
[
i
]
->
primary_repoid
,
&
ev
);
(
CORBA_char
*
)
component_types
[
i
]
->
primary_repoid
,
&
ev
);
if
(
ev
.
_major
!=
CORBA_NO_EXCEPTION
)
obj
=
CORBA_OBJECT_NIL
;
...
...
src/ntl-view.c
View file @
a0e01c46
...
...
@@ -339,8 +339,11 @@ nautilus_view_load_client(NautilusView *view, const char *iid)
for
(
i
=
0
;
component_types
[
i
]
&&
!
view
->
component_class
;
i
++
)
{
/* FIXME: (CORBA_char *) cast required because API won't take const CORBA_char *.
* GNOME_Unknown_query_interface should be changed to allow const CORBA_char * for 2nd parameter.
*/
obj
=
GNOME_Unknown_query_interface
(
gnome_object_corba_objref
(
GNOME_OBJECT
(
view
->
client_object
)),
component_types
[
i
]
->
primary_repoid
,
&
ev
);
(
CORBA_char
*
)
component_types
[
i
]
->
primary_repoid
,
&
ev
);
if
(
ev
.
_major
!=
CORBA_NO_EXCEPTION
)
obj
=
CORBA_OBJECT_NIL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment