1. 03 Oct, 2012 1 commit
  2. 06 Jul, 2012 1 commit
    • David Zeuthen's avatar
      gdbus-codegen: Don't generate invalid GObject property names · d72116d8
      David Zeuthen authored
      For a D-Bus property with name "Type" (fairly common), we used to
      generate a GObject property with name "type-" and C accessors
      get_type_() (to avoid clashing with the GType getter), set_type_()
      (for symmetri).
      
      However, the rules for GObject property names are fairly rigid and
      specifically prohibit names ending in a dash.
      
      Therefore change things so the chosen GObject property name is "type"
      but preserve the naming rules for the C getter and setter (for the
      same reasons: avoiding name clashing and symmetri).
      
      This change does break the API of generated code (but only on the
      GObject property level, the C symbols are not changed) but strictly
      speaking the behavior was undefined since "type-" was an invalid
      GObject property name.
      
      Also add a test case for this.
      
      Bug 679473.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=679473Signed-off-by: default avatarDavid Zeuthen <zeuthen@gmail.com>
      d72116d8
  3. 21 Jul, 2011 1 commit
  4. 24 May, 2011 1 commit
  5. 25 Apr, 2011 1 commit
  6. 15 Apr, 2011 3 commits
  7. 12 Apr, 2011 1 commit
  8. 11 Apr, 2011 1 commit