Add clang-format configuration, clean up
This commit is contained in:
parent
da0a5c43dc
commit
bc8ceebef7
37
.clang-format
Normal file
37
.clang-format
Normal file
@ -0,0 +1,37 @@
|
||||
# clang-format is fairly limited, and these rules are approximate:
|
||||
# - array initializers can get terribly mangled with clang-format 12.0,
|
||||
# - sometimes it still aligns with space characters,
|
||||
# - struct name NL { NL ... NL } NL name; is unachievable.
|
||||
BasedOnStyle: GNU
|
||||
ColumnLimit: 80
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
UseTab: ForContinuationAndIndentation
|
||||
BreakBeforeBraces: Allman
|
||||
SpaceAfterCStyleCast: true
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignAfterOpenBracket: DontAlign
|
||||
AlignEscapedNewlines: DontAlign
|
||||
AlignOperands: DontAlign
|
||||
AlignConsecutiveMacros: Consecutive
|
||||
AllowAllArgumentsOnNextLine: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
Cpp11BracedListStyle: true
|
||||
MaxEmptyLinesToKeep: 2
|
||||
|
||||
# IncludeCategories has some potential, but currently it breaks build.
|
||||
# Note that the documentation says the value should be "Never".
|
||||
SortIncludes: false
|
||||
|
||||
# Must be kept synchronized with gi18n.h and make-template.sh.
|
||||
WhitespaceSensitiveMacros: ['_', 'Q_', 'N_', 'C_', 'NC_']
|
||||
|
||||
# This is a compromise, it generally works out aesthetically better.
|
||||
BinPackArguments: false
|
||||
|
||||
# Unfortunately, this doesn't work for block comments, used in logdiag.
|
||||
SpacesBeforeTrailingComments: 2
|
||||
|
||||
# logdiag-specific function body wrappers.
|
||||
MacroBlockBegin: "LD_LUA_CAIRO_BEGIN"
|
||||
MacroBlockEnd: "LD_LUA_CAIRO_END"
|
@ -456,9 +456,9 @@ on_leave_notify (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data)
|
||||
}
|
||||
|
||||
static void
|
||||
on_drag_data_get
|
||||
(GtkWidget *widget, GdkDragContext *ctx, GtkSelectionData *selection_data,
|
||||
guint target_type, guint time, gpointer user_data)
|
||||
on_drag_data_get (GtkWidget *widget, GdkDragContext *ctx,
|
||||
GtkSelectionData *selection_data, guint target_type, guint time,
|
||||
gpointer user_data)
|
||||
{
|
||||
LdCategorySymbolView *self;
|
||||
|
||||
|
@ -15,16 +15,22 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_CATEGORY_SYMBOL_VIEW (ld_category_symbol_view_get_type ())
|
||||
#define LD_CATEGORY_SYMBOL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_CATEGORY_SYMBOL_VIEW, LdCategorySymbolView))
|
||||
#define LD_CATEGORY_SYMBOL_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_CATEGORY_SYMBOL_VIEW, LdCategorySymbolViewClass))
|
||||
#define LD_IS_CATEGORY_SYMBOL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_CATEGORY_SYMBOL_VIEW))
|
||||
#define LD_IS_CATEGORY_SYMBOL_VIEW_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_CATEGORY_SYMBOL_VIEW))
|
||||
#define LD_CATEGORY_SYMBOL_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_CATEGORY_SYMBOL_VIEW, LdCategorySymbolViewClass))
|
||||
#define LD_CATEGORY_SYMBOL_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
||||
LD_TYPE_CATEGORY_SYMBOL_VIEW, \
|
||||
LdCategorySymbolView))
|
||||
#define LD_CATEGORY_SYMBOL_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_CATEGORY_SYMBOL_VIEW, \
|
||||
LdCategorySymbolViewClass))
|
||||
#define LD_IS_CATEGORY_SYMBOL_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_CATEGORY_SYMBOL_VIEW))
|
||||
#define LD_IS_CATEGORY_SYMBOL_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_CATEGORY_SYMBOL_VIEW))
|
||||
#define LD_CATEGORY_SYMBOL_VIEW_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
||||
LD_CATEGORY_SYMBOL_VIEW, \
|
||||
LdCategorySymbolViewClass))
|
||||
|
||||
typedef struct _LdCategorySymbolView LdCategorySymbolView;
|
||||
typedef struct _LdCategorySymbolViewPrivate LdCategorySymbolViewPrivate;
|
||||
|
@ -15,16 +15,22 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_CATEGORY_TREE_VIEW (ld_category_tree_view_get_type ())
|
||||
#define LD_CATEGORY_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_CATEGORY_TREE_VIEW, LdCategoryTreeView))
|
||||
#define LD_CATEGORY_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_CATEGORY_TREE_VIEW, LdCategoryTreeViewClass))
|
||||
#define LD_IS_CATEGORY_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_CATEGORY_TREE_VIEW))
|
||||
#define LD_IS_CATEGORY_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_CATEGORY_TREE_VIEW))
|
||||
#define LD_CATEGORY_TREE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_CATEGORY_TREE_VIEW, LdCategoryTreeViewClass))
|
||||
#define LD_CATEGORY_TREE_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
||||
LD_TYPE_CATEGORY_TREE_VIEW, \
|
||||
LdCategoryTreeView))
|
||||
#define LD_CATEGORY_TREE_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_CATEGORY_TREE_VIEW, \
|
||||
LdCategoryTreeViewClass))
|
||||
#define LD_IS_CATEGORY_TREE_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_CATEGORY_TREE_VIEW))
|
||||
#define LD_IS_CATEGORY_TREE_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_CATEGORY_TREE_VIEW))
|
||||
#define LD_CATEGORY_TREE_VIEW_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
||||
LD_CATEGORY_TREE_VIEW, \
|
||||
LdCategoryTreeViewClass))
|
||||
|
||||
typedef struct _LdCategoryTreeView LdCategoryTreeView;
|
||||
typedef struct _LdCategoryTreeViewPrivate LdCategoryTreeViewPrivate;
|
||||
|
@ -77,8 +77,7 @@ ld_category_view_default_init (LdCategoryViewInterface *iface)
|
||||
* Assign an #LdCategory object to the view.
|
||||
*/
|
||||
void
|
||||
ld_category_view_set_category (LdCategoryView *self,
|
||||
LdCategory *category)
|
||||
ld_category_view_set_category (LdCategoryView *self, LdCategory *category)
|
||||
{
|
||||
g_return_if_fail (LD_IS_CATEGORY_VIEW (self));
|
||||
LD_CATEGORY_VIEW_GET_INTERFACE (self)->set_category (self, category);
|
||||
|
@ -15,12 +15,14 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_CATEGORY_VIEW (ld_category_view_get_type ())
|
||||
#define LD_CATEGORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_CATEGORY_VIEW, LdCategoryView))
|
||||
#define LD_IS_CATEGORY_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_CATEGORY_VIEW))
|
||||
#define LD_CATEGORY_VIEW_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE \
|
||||
((inst), LD_TYPE_CATEGORY_VIEW, LdCategoryViewInterface))
|
||||
#define LD_CATEGORY_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_CATEGORY_VIEW, LdCategoryView))
|
||||
#define LD_IS_CATEGORY_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_CATEGORY_VIEW))
|
||||
#define LD_CATEGORY_VIEW_GET_INTERFACE(inst) \
|
||||
(G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
|
||||
LD_TYPE_CATEGORY_VIEW, \
|
||||
LdCategoryViewInterface))
|
||||
|
||||
typedef struct _LdCategoryView LdCategoryView;
|
||||
typedef struct _LdCategoryViewInterface LdCategoryViewInterface;
|
||||
@ -48,8 +50,7 @@ struct _LdCategoryViewInterface
|
||||
|
||||
GType ld_category_view_get_type (void) G_GNUC_CONST;
|
||||
|
||||
void ld_category_view_set_category (LdCategoryView *self,
|
||||
LdCategory *category);
|
||||
void ld_category_view_set_category (LdCategoryView *self, LdCategory *category);
|
||||
LdCategory *ld_category_view_get_category (LdCategoryView *self);
|
||||
|
||||
|
||||
|
@ -561,4 +561,3 @@ ld_category_get_children (LdCategory *self)
|
||||
g_return_val_if_fail (LD_IS_CATEGORY (self), NULL);
|
||||
return self->priv->subcategories;
|
||||
}
|
||||
|
||||
|
@ -15,16 +15,16 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_CATEGORY (ld_category_get_type ())
|
||||
#define LD_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_CATEGORY, LdCategory))
|
||||
#define LD_CATEGORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_CATEGORY, LdCategoryClass))
|
||||
#define LD_IS_CATEGORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_CATEGORY))
|
||||
#define LD_IS_CATEGORY_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_CATEGORY))
|
||||
#define LD_CATEGORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_CATEGORY, LdCategoryClass))
|
||||
#define LD_CATEGORY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_CATEGORY, LdCategory))
|
||||
#define LD_CATEGORY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_CATEGORY, LdCategoryClass))
|
||||
#define LD_IS_CATEGORY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_CATEGORY))
|
||||
#define LD_IS_CATEGORY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_CATEGORY))
|
||||
#define LD_CATEGORY_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_CATEGORY, LdCategoryClass))
|
||||
|
||||
typedef struct _LdCategory LdCategory;
|
||||
typedef struct _LdCategoryPrivate LdCategoryPrivate;
|
||||
@ -77,4 +77,3 @@ const GSList *ld_category_get_children (LdCategory *self);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_CATEGORY_H__ */
|
||||
|
||||
|
@ -332,4 +332,3 @@ on_set_points_destroy (gpointer user_data)
|
||||
json_node_free (data->new_node);
|
||||
g_slice_free (SetPointsActionData, data);
|
||||
}
|
||||
|
||||
|
@ -15,16 +15,22 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_DIAGRAM_CONNECTION (ld_diagram_connection_get_type ())
|
||||
#define LD_DIAGRAM_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_DIAGRAM_CONNECTION, LdDiagramConnection))
|
||||
#define LD_DIAGRAM_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_DIAGRAM_CONNECTION, LdDiagramConnectionClass))
|
||||
#define LD_IS_DIAGRAM_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_DIAGRAM_CONNECTION))
|
||||
#define LD_IS_DIAGRAM_CONNECTION_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_DIAGRAM_CONNECTION))
|
||||
#define LD_DIAGRAM_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_DIAGRAM_CONNECTION, LdDiagramConnectionClass))
|
||||
#define LD_DIAGRAM_CONNECTION(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
||||
LD_TYPE_DIAGRAM_CONNECTION, \
|
||||
LdDiagramConnection))
|
||||
#define LD_DIAGRAM_CONNECTION_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_DIAGRAM_CONNECTION, \
|
||||
LdDiagramConnectionClass))
|
||||
#define LD_IS_DIAGRAM_CONNECTION(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_DIAGRAM_CONNECTION))
|
||||
#define LD_IS_DIAGRAM_CONNECTION_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_DIAGRAM_CONNECTION))
|
||||
#define LD_DIAGRAM_CONNECTION_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
||||
LD_DIAGRAM_CONNECTION, \
|
||||
LdDiagramConnectionClass))
|
||||
|
||||
typedef struct _LdDiagramConnection LdDiagramConnection;
|
||||
typedef struct _LdDiagramConnectionPrivate LdDiagramConnectionPrivate;
|
||||
@ -61,4 +67,3 @@ void ld_diagram_connection_set_points (LdDiagramConnection *self,
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_DIAGRAM_CONNECTION_H__ */
|
||||
|
||||
|
@ -15,16 +15,20 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_DIAGRAM_OBJECT (ld_diagram_object_get_type ())
|
||||
#define LD_DIAGRAM_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_DIAGRAM_OBJECT, LdDiagramObject))
|
||||
#define LD_DIAGRAM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_DIAGRAM_OBJECT, LdDiagramObjectClass))
|
||||
#define LD_IS_DIAGRAM_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_DIAGRAM_OBJECT))
|
||||
#define LD_IS_DIAGRAM_OBJECT_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_DIAGRAM_OBJECT))
|
||||
#define LD_DIAGRAM_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_DIAGRAM_OBJECT, LdDiagramObjectClass))
|
||||
#define LD_DIAGRAM_OBJECT(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
||||
LD_TYPE_DIAGRAM_OBJECT, \
|
||||
LdDiagramObject))
|
||||
#define LD_DIAGRAM_OBJECT_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_DIAGRAM_OBJECT, \
|
||||
LdDiagramObjectClass))
|
||||
#define LD_IS_DIAGRAM_OBJECT(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_DIAGRAM_OBJECT))
|
||||
#define LD_IS_DIAGRAM_OBJECT_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_DIAGRAM_OBJECT))
|
||||
#define LD_DIAGRAM_OBJECT_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_DIAGRAM_OBJECT, LdDiagramObjectClass))
|
||||
|
||||
typedef struct _LdDiagramObject LdDiagramObject;
|
||||
typedef struct _LdDiagramObjectPrivate LdDiagramObjectPrivate;
|
||||
@ -74,4 +78,3 @@ void ld_diagram_object_set_y (LdDiagramObject *self, gdouble y);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_DIAGRAM_OBJECT_H__ */
|
||||
|
||||
|
@ -15,16 +15,20 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_DIAGRAM_SYMBOL (ld_diagram_symbol_get_type ())
|
||||
#define LD_DIAGRAM_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_DIAGRAM_SYMBOL, LdDiagramSymbol))
|
||||
#define LD_DIAGRAM_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_DIAGRAM_SYMBOL, LdDiagramSymbolClass))
|
||||
#define LD_IS_DIAGRAM_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_DIAGRAM_SYMBOL))
|
||||
#define LD_IS_DIAGRAM_SYMBOL_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_DIAGRAM_SYMBOL))
|
||||
#define LD_DIAGRAM_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_DIAGRAM_SYMBOL, LdDiagramSymbolClass))
|
||||
#define LD_DIAGRAM_SYMBOL(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
||||
LD_TYPE_DIAGRAM_SYMBOL, \
|
||||
LdDiagramSymbol))
|
||||
#define LD_DIAGRAM_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_DIAGRAM_SYMBOL, \
|
||||
LdDiagramSymbolClass))
|
||||
#define LD_IS_DIAGRAM_SYMBOL(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_DIAGRAM_SYMBOL))
|
||||
#define LD_IS_DIAGRAM_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_DIAGRAM_SYMBOL))
|
||||
#define LD_DIAGRAM_SYMBOL_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_DIAGRAM_SYMBOL, LdDiagramSymbolClass))
|
||||
|
||||
typedef struct _LdDiagramSymbol LdDiagramSymbol;
|
||||
typedef struct _LdDiagramSymbolPrivate LdDiagramSymbolPrivate;
|
||||
@ -70,4 +74,3 @@ void ld_diagram_symbol_set_rotation (LdDiagramSymbol *self, gint rotation);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_DIAGRAM_SYMBOL_H__ */
|
||||
|
||||
|
@ -1390,8 +1390,8 @@ move_selection (LdDiagramView *self, gdouble dx, gdouble dy)
|
||||
static gboolean
|
||||
is_object_selected (LdDiagramView *self, LdDiagramObject *object)
|
||||
{
|
||||
return g_list_find (ld_diagram_get_selection (self->priv->diagram),
|
||||
object) != NULL;
|
||||
return g_list_find (ld_diagram_get_selection (self->priv->diagram), object)
|
||||
!= NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -15,16 +15,18 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_DIAGRAM_VIEW (ld_diagram_view_get_type ())
|
||||
#define LD_DIAGRAM_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_DIAGRAM_VIEW, LdDiagramView))
|
||||
#define LD_DIAGRAM_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_DIAGRAM_VIEW, LdDiagramViewClass))
|
||||
#define LD_IS_DIAGRAM_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_DIAGRAM_VIEW))
|
||||
#define LD_IS_DIAGRAM_VIEW_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_DIAGRAM_VIEW))
|
||||
#define LD_DIAGRAM_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_DIAGRAM_VIEW, LdDiagramViewClass))
|
||||
#define LD_DIAGRAM_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_DIAGRAM_VIEW, LdDiagramView))
|
||||
#define LD_DIAGRAM_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
||||
LD_TYPE_DIAGRAM_VIEW, \
|
||||
LdDiagramViewClass))
|
||||
#define LD_IS_DIAGRAM_VIEW(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_DIAGRAM_VIEW))
|
||||
#define LD_IS_DIAGRAM_VIEW_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_DIAGRAM_VIEW))
|
||||
#define LD_DIAGRAM_VIEW_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_DIAGRAM_VIEW, LdDiagramViewClass))
|
||||
|
||||
typedef struct _LdDiagramView LdDiagramView;
|
||||
typedef struct _LdDiagramViewPrivate LdDiagramViewPrivate;
|
||||
|
@ -15,16 +15,15 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_DIAGRAM (ld_diagram_get_type ())
|
||||
#define LD_DIAGRAM(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_DIAGRAM, LdDiagram))
|
||||
#define LD_DIAGRAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_DIAGRAM, LdDiagramClass))
|
||||
#define LD_IS_DIAGRAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_DIAGRAM))
|
||||
#define LD_IS_DIAGRAM_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_DIAGRAM))
|
||||
#define LD_DIAGRAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_DIAGRAM, LdDiagramClass))
|
||||
#define LD_DIAGRAM(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_DIAGRAM, LdDiagram))
|
||||
#define LD_DIAGRAM_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_DIAGRAM, LdDiagramClass))
|
||||
#define LD_IS_DIAGRAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_DIAGRAM))
|
||||
#define LD_IS_DIAGRAM_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_DIAGRAM))
|
||||
#define LD_DIAGRAM_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_DIAGRAM, LdDiagramClass))
|
||||
|
||||
typedef struct _LdDiagram LdDiagram;
|
||||
typedef struct _LdDiagramClass LdDiagramClass;
|
||||
@ -114,4 +113,3 @@ void ld_diagram_unselect_all (LdDiagram *self);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_DIAGRAM_H__ */
|
||||
|
||||
|
@ -427,4 +427,3 @@ ld_library_get_root (LdLibrary *self)
|
||||
g_return_val_if_fail (LD_IS_LIBRARY (self), NULL);
|
||||
return self->priv->root;
|
||||
}
|
||||
|
||||
|
@ -15,16 +15,15 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_LIBRARY (ld_library_get_type ())
|
||||
#define LD_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_LIBRARY, LdLibrary))
|
||||
#define LD_LIBRARY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_LIBRARY, LdLibraryClass))
|
||||
#define LD_IS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_LIBRARY))
|
||||
#define LD_IS_LIBRARY_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_LIBRARY))
|
||||
#define LD_LIBRARY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_LIBRARY, LdLibraryClass))
|
||||
#define LD_LIBRARY(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_LIBRARY, LdLibrary))
|
||||
#define LD_LIBRARY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_LIBRARY, LdLibraryClass))
|
||||
#define LD_IS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_LIBRARY))
|
||||
#define LD_IS_LIBRARY_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_LIBRARY))
|
||||
#define LD_LIBRARY_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_LIBRARY, LdLibraryClass))
|
||||
|
||||
typedef struct _LdLibrary LdLibrary;
|
||||
typedef struct _LdLibraryPrivate LdLibraryPrivate;
|
||||
@ -66,4 +65,3 @@ LdCategory *ld_library_get_root (LdLibrary *self);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_LIBRARY_H__ */
|
||||
|
||||
|
@ -23,4 +23,3 @@ void ld_lua_private_draw (LdLua *self, LdLuaSymbol *symbol, cairo_t *cr);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_LUA_PRIVATE_H__ */
|
||||
|
||||
|
@ -37,4 +37,3 @@ struct _LdLuaSymbolPrivate
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_LUA_SYMBOL_PRIVATE_H__ */
|
||||
|
||||
|
@ -135,4 +135,3 @@ ld_lua_symbol_real_draw (LdSymbol *symbol, cairo_t *cr)
|
||||
ld_lua_private_draw (self->priv->lua, self, cr);
|
||||
cairo_restore (cr);
|
||||
}
|
||||
|
||||
|
@ -15,16 +15,16 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_LUA_SYMBOL (ld_lua_symbol_get_type ())
|
||||
#define LD_LUA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_LUA_SYMBOL, LdLuaSymbol))
|
||||
#define LD_LUA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_LUA_SYMBOL, LdLuaSymbolClass))
|
||||
#define LD_IS_LUA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_LUA_SYMBOL))
|
||||
#define LD_IS_LUA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_LUA_SYMBOL))
|
||||
#define LD_LUA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_LUA_SYMBOL, LdLuaSymbolClass))
|
||||
#define LD_LUA_SYMBOL(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_LUA_SYMBOL, LdLuaSymbol))
|
||||
#define LD_LUA_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_LUA_SYMBOL, LdLuaSymbolClass))
|
||||
#define LD_IS_LUA_SYMBOL(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_LUA_SYMBOL))
|
||||
#define LD_IS_LUA_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_LUA_SYMBOL))
|
||||
#define LD_LUA_SYMBOL_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_LUA_SYMBOL, LdLuaSymbolClass))
|
||||
|
||||
typedef struct _LdLuaSymbol LdLuaSymbol;
|
||||
typedef struct _LdLuaSymbolPrivate LdLuaSymbolPrivate;
|
||||
@ -57,4 +57,3 @@ GType ld_lua_symbol_get_type (void) G_GNUC_CONST;
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_LUA_SYMBOL_H__ */
|
||||
|
||||
|
@ -187,8 +187,7 @@ ld_lua_init (LdLua *self)
|
||||
lua_State *L;
|
||||
LdLuaData *ud;
|
||||
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE
|
||||
(self, LD_TYPE_LUA, LdLuaPrivate);
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, LD_TYPE_LUA, LdLuaPrivate);
|
||||
|
||||
L = self->priv->L = lua_newstate (ld_lua_alloc, NULL);
|
||||
g_return_if_fail (L != NULL);
|
||||
@ -465,8 +464,7 @@ ld_lua_logdiag_register (lua_State *L)
|
||||
lua_insert (L, -2);
|
||||
lua_concat (L, 2);
|
||||
|
||||
g_warning ("Lua symbol registration failed: %s",
|
||||
lua_tostring (L, -1));
|
||||
g_warning ("Lua symbol registration failed: %s", lua_tostring (L, -1));
|
||||
lua_pushboolean (L, FALSE);
|
||||
}
|
||||
else
|
||||
@ -861,4 +859,3 @@ LD_LUA_CAIRO_BEGIN (show_text)
|
||||
|
||||
g_object_unref (layout);
|
||||
LD_LUA_CAIRO_END (0)
|
||||
|
||||
|
@ -15,16 +15,14 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_LUA (ld_lua_get_type ())
|
||||
#define LD_LUA(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_LUA, LdLua))
|
||||
#define LD_LUA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_LUA, LdLuaClass))
|
||||
#define LD_IS_LUA(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_LUA))
|
||||
#define LD_IS_LUA_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_LUA))
|
||||
#define LD_LUA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_LUA, LdLuaClass))
|
||||
#define LD_LUA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_LUA, LdLua))
|
||||
#define LD_LUA_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_LUA, LdLuaClass))
|
||||
#define LD_IS_LUA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_LUA))
|
||||
#define LD_IS_LUA_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_LUA))
|
||||
#define LD_LUA_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_LUA, LdLuaClass))
|
||||
|
||||
typedef struct _LdLua LdLua;
|
||||
typedef struct _LdLuaPrivate LdLuaPrivate;
|
||||
@ -67,4 +65,3 @@ gboolean ld_lua_load_file (LdLua *self, const gchar *filename,
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_LUA_H__ */
|
||||
|
||||
|
@ -15,16 +15,15 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_SYMBOL (ld_symbol_get_type ())
|
||||
#define LD_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_SYMBOL, LdSymbol))
|
||||
#define LD_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_SYMBOL, LdSymbolClass))
|
||||
#define LD_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_SYMBOL))
|
||||
#define LD_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_SYMBOL))
|
||||
#define LD_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_SYMBOL, LdSymbolClass))
|
||||
#define LD_SYMBOL(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_SYMBOL, LdSymbol))
|
||||
#define LD_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_SYMBOL, LdSymbolClass))
|
||||
#define LD_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_SYMBOL))
|
||||
#define LD_IS_SYMBOL_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_SYMBOL))
|
||||
#define LD_SYMBOL_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_SYMBOL, LdSymbolClass))
|
||||
|
||||
typedef struct _LdSymbol LdSymbol;
|
||||
typedef struct _LdSymbolPrivate LdSymbolPrivate;
|
||||
@ -72,4 +71,3 @@ void ld_symbol_draw (LdSymbol *self, cairo_t *cr);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_SYMBOL_H__ */
|
||||
|
||||
|
@ -256,7 +256,8 @@ ld_point_array_remove (LdPointArray *self, gint pos, guint length)
|
||||
*
|
||||
* Change size of the array.
|
||||
*/
|
||||
void ld_point_array_set_size (LdPointArray *self, guint size)
|
||||
void
|
||||
ld_point_array_set_size (LdPointArray *self, guint size)
|
||||
{
|
||||
g_return_if_fail (self != NULL);
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_POINT (ld_point_get_type ())
|
||||
#define LD_TYPE_POINT (ld_point_get_type ())
|
||||
#define LD_TYPE_POINT_ARRAY (ld_point_array_get_type ())
|
||||
#define LD_TYPE_RECTANGLE (ld_rectangle_get_type ())
|
||||
#define LD_TYPE_RECTANGLE (ld_rectangle_get_type ())
|
||||
|
||||
|
||||
/**
|
||||
@ -99,4 +99,3 @@ void ld_rectangle_extend (LdRectangle *self, gdouble border);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_TYPES_H__ */
|
||||
|
||||
|
@ -84,9 +84,8 @@ ld_undo_action_finalize (GObject *gobject)
|
||||
* Return value: a new #LdUndoAction object.
|
||||
*/
|
||||
LdUndoAction *
|
||||
ld_undo_action_new (LdUndoActionFunc undo_func,
|
||||
LdUndoActionFunc redo_func, LdUndoActionFunc destroy_func,
|
||||
gpointer user_data)
|
||||
ld_undo_action_new (LdUndoActionFunc undo_func, LdUndoActionFunc redo_func,
|
||||
LdUndoActionFunc destroy_func, gpointer user_data)
|
||||
{
|
||||
LdUndoAction *self;
|
||||
|
||||
|
@ -15,16 +15,16 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_UNDO_ACTION (ld_undo_action_get_type ())
|
||||
#define LD_UNDO_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_UNDO_ACTION, LdUndoAction))
|
||||
#define LD_UNDO_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_UNDO_ACTION, LdUndoActionClass))
|
||||
#define LD_IS_UNDO_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_UNDO_ACTION))
|
||||
#define LD_IS_UNDO_ACTION_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_UNDO_ACTION))
|
||||
#define LD_UNDO_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_UNDO_ACTION, LdUndoActionClass))
|
||||
#define LD_UNDO_ACTION(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_UNDO_ACTION, LdUndoAction))
|
||||
#define LD_UNDO_ACTION_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_UNDO_ACTION, LdUndoActionClass))
|
||||
#define LD_IS_UNDO_ACTION(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_UNDO_ACTION))
|
||||
#define LD_IS_UNDO_ACTION_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_UNDO_ACTION))
|
||||
#define LD_UNDO_ACTION_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_UNDO_ACTION, LdUndoActionClass))
|
||||
|
||||
typedef struct _LdUndoAction LdUndoAction;
|
||||
typedef struct _LdUndoActionPrivate LdUndoActionPrivate;
|
||||
@ -73,4 +73,3 @@ void ld_undo_action_redo (LdUndoAction *self);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_UNDO_ACTION_H__ */
|
||||
|
||||
|
@ -182,7 +182,7 @@ static GtkActionEntry wm_action_entries[] =
|
||||
G_CALLBACK (on_action_user_guide)},
|
||||
{"About", GTK_STOCK_ABOUT, N_("_About"), NULL,
|
||||
N_("Show a dialog about this application"),
|
||||
G_CALLBACK (on_action_about)}
|
||||
G_CALLBACK (on_action_about)},
|
||||
};
|
||||
|
||||
static GtkToggleActionEntry wm_toggle_action_entries[] =
|
||||
|
@ -15,16 +15,16 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
#define LD_TYPE_WINDOW_MAIN (ld_window_main_get_type ())
|
||||
#define LD_WINDOW_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST \
|
||||
((obj), LD_TYPE_WINDOW_MAIN, LdWindowMain))
|
||||
#define LD_WINDOW_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
|
||||
((klass), LD_TYPE_WINDOW_MAIN, LdWindowMainClass))
|
||||
#define LD_IS_WINDOW_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((obj), LD_TYPE_WINDOW_MAIN))
|
||||
#define LD_IS_WINDOW_MAIN_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
|
||||
((klass), LD_TYPE_WINDOW_MAIN))
|
||||
#define LD_WINDOW_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
|
||||
((obj), LD_WINDOW_MAIN, LdWindowMainClass))
|
||||
#define LD_WINDOW_MAIN(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_WINDOW_MAIN, LdWindowMain))
|
||||
#define LD_WINDOW_MAIN_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_WINDOW_MAIN, LdWindowMainClass))
|
||||
#define LD_IS_WINDOW_MAIN(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_WINDOW_MAIN))
|
||||
#define LD_IS_WINDOW_MAIN_CLASS(klass) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_WINDOW_MAIN))
|
||||
#define LD_WINDOW_MAIN_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), LD_WINDOW_MAIN, LdWindowMainClass))
|
||||
|
||||
typedef struct _LdWindowMain LdWindowMain;
|
||||
typedef struct _LdWindowMainPrivate LdWindowMainPrivate;
|
||||
@ -53,4 +53,3 @@ GtkWidget *ld_window_main_new (const gchar *filename);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* ! __LD_WINDOW_MAIN_H__ */
|
||||
|
||||
|
@ -175,4 +175,3 @@ main (int argc, char *argv[])
|
||||
gtk_main ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user