• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Révision014dd70b689abbdd85e97bdc4c9d906738fdd1a4 (tree)
l'heure2014-10-02 07:33:00
AuteurHans Breuer <hans@breu...>
CommiterHans Breuer

Message de Log

[warningectomy] no previous prototype for function

diapatternselector.c:74:1: warning: no previous prototype for function 'dia_pattern_selector_get_type' [-Wmissing-prototypes]
G_DEFINE_TYPE (DiaPatternSelector, dia_pattern_selector, GTK_TYPE_HBOX);

/usr/include/glib-2.0/gobject/gtype.h:1325:43: note: expanded from macro 'G_DEFINE_TYPE'


/usr/include/glib-2.0/gobject/gtype.h:1465:60: note: expanded from macro 'G_DEFINE_TYPE_EXTENDED'


/usr/include/glib-2.0/gobject/gtype.h:1682:7: note: expanded from macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
GType \


<scratch space>:81:1: note: expanded from here
dia_pattern_selector_get_type

Change Summary

Modification

--- a/lib/diapatternselector.c
+++ b/lib/diapatternselector.c
@@ -71,6 +71,8 @@ dia_pattern_selector_class_init (DiaPatternSelectorClass *klass)
7171 object_class->finalize = dia_pattern_selector_finalize;
7272 }
7373
74+static GType dia_pattern_selector_get_type (void);
75+
7476 G_DEFINE_TYPE (DiaPatternSelector, dia_pattern_selector, GTK_TYPE_HBOX);
7577
7678 /* GUI stuff - not completely done yet