diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2009-02-09 02:44:19 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2009-02-09 02:44:19 +0000 |
| commit | f15c0d8790a491a0d0366c9d6fb774889ee0578b (patch) | |
| tree | 2dac04c43afa2bf4235ba73781b6d59a9808ad88 /src/ui | |
| parent | gcc warning cleanup (diff) | |
| download | inkscape-f15c0d8790a491a0d0366c9d6fb774889ee0578b.tar.gz inkscape-f15c0d8790a491a0d0366c9d6fb774889ee0578b.zip | |
gcc warning cleanup
warning: deprecated conversion from string constant to ‘char*’/'gchar*'
(bzr r7253)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/view/view-widget.cpp | 2 | ||||
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/view/view-widget.cpp b/src/ui/view/view-widget.cpp index 36c97af2f..d1f9d677c 100644 --- a/src/ui/view/view-widget.cpp +++ b/src/ui/view/view-widget.cpp @@ -33,7 +33,7 @@ GtkType sp_view_widget_get_type(void) if (!type) { GtkTypeInfo info = { - "SPViewWidget", + (gchar*) "SPViewWidget", sizeof(SPViewWidget), sizeof(SPViewWidgetClass), (GtkClassInitFunc) sp_view_widget_class_init, diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 3da613416..90ef79b92 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -87,7 +87,7 @@ typedef enum { } ui_drop_target_info; static GtkTargetEntry ui_drop_target_entries [] = { - {"application/x-color", 0, APP_X_COLOR} + {(gchar*) "application/x-color", 0, APP_X_COLOR} }; #define ENTRIES_SIZE(n) sizeof(n)/sizeof(n[0]) |
