Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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>
1999-12-22 Elliot Lee <sopwith@redhat.com>
* src/ntl-uri-map.[ch]: Add initialization function. Implement scheme mapping.
* 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)
...
@@ -339,8 +339,11 @@ nautilus_view_load_client(NautilusView *view, const char *iid)
for
(
i
=
0
;
component_types
[
i
]
&&
!
view
->
component_class
;
i
++
)
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
)),
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
)
if
(
ev
.
_major
!=
CORBA_NO_EXCEPTION
)
obj
=
CORBA_OBJECT_NIL
;
obj
=
CORBA_OBJECT_NIL
;
...
...
src/ntl-view.c
View file @
a0e01c46
...
@@ -339,8 +339,11 @@ nautilus_view_load_client(NautilusView *view, const char *iid)
...
@@ -339,8 +339,11 @@ nautilus_view_load_client(NautilusView *view, const char *iid)
for
(
i
=
0
;
component_types
[
i
]
&&
!
view
->
component_class
;
i
++
)
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
)),
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
)
if
(
ev
.
_major
!=
CORBA_NO_EXCEPTION
)
obj
=
CORBA_OBJECT_NIL
;
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