Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Contrib
drgeo
drgeo-1.1.0-anonymous-type.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File drgeo-1.1.0-anonymous-type.patch of Package drgeo
Index: drgeo-1.1.0/geo/drgeo_dialog.cc =================================================================== --- drgeo-1.1.0.orig/geo/drgeo_dialog.cc +++ drgeo-1.1.0/geo/drgeo_dialog.cc @@ -38,12 +38,7 @@ static GtkWidget *drgeoEditDialog = NULL // Used in the style dialod callback, I know it's ugly, but so easy static drgeoFigure *selected_figure; -struct -{ - drgeoPoint mouse; - drgeoFigure *figure; -} -drgeoDialogData; +DialogData drgeoDialogData; static void drgeo_edit_dialog_cb (GtkWidget * dialog, Index: drgeo-1.1.0/geo/drgeo_dialog.h =================================================================== --- drgeo-1.1.0.orig/geo/drgeo_dialog.h +++ drgeo-1.1.0/geo/drgeo_dialog.h @@ -34,4 +34,11 @@ extern "C" } #endif /* __cplusplus */ + +typedef struct +{ + drgeoPoint mouse; + drgeoFigure *figure; +} DialogData; + #endif Index: drgeo-1.1.0/geo/drgeo_figure.cc =================================================================== --- drgeo-1.1.0.orig/geo/drgeo_figure.cc +++ drgeo-1.1.0/geo/drgeo_figure.cc @@ -48,12 +48,7 @@ #include "drgeo_dialog.h" #include "traite.h" -extern struct -{ - drgeoPoint mouse; - drgeoFigure *figure; -} -drgeoDialogData; +extern DialogData drgeoDialogData; typedef struct drgeoSearchValue {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor