Merge lp:~rodrigo-moya/libubuntuone/fix-mono-bindings into lp:libubuntuone

Proposed by Rodrigo Moya
Status: Merged
Approved by: Rodrigo Moya
Approved revision: 99
Merged at revision: 98
Proposed branch: lp:~rodrigo-moya/libubuntuone/fix-mono-bindings
Merge into: lp:libubuntuone
Diff against target: 59 lines (+11/-7)
2 files modified
bindings/mono/ubuntuone.sources.in (+3/-2)
libubuntuone/u1-music-store.h (+8/-5)
To merge this branch: bzr merge lp:~rodrigo-moya/libubuntuone/fix-mono-bindings
Reviewer Review Type Date Requested Status
Natalia Bidart (community) Approve
John Lenton (community) Approve
Review via email: mp+33851@code.launchpad.net

Commit message

Fix generation of Mono bindings

Description of the change

Fix generation of Mono bindings

To post a comment you must log in.
Revision history for this message
John Lenton (chipaca) :
review: Approve
Revision history for this message
Natalia Bidart (nataliabidart) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bindings/mono/ubuntuone.sources.in'
--- bindings/mono/ubuntuone.sources.in 2010-06-01 13:44:11 +0000
+++ bindings/mono/ubuntuone.sources.in 2010-08-26 23:23:38 +0000
@@ -1,8 +1,9 @@
1<gapi-parser-input>1<gapi-parser-input>
2 <api filename="ubuntuone-api.xml">2 <api filename="ubuntuone-api.xml">
3 <library name="ubuntuone-sharp.dll">3 <library name="libubuntuone-1.0.dll">
4 <namespace name="UbuntuOne">4 <namespace name="UbuntuOne">
5 <dir>@TOP_SRCDIR@/libubuntuone/</dir>5 <file>@TOP_SRCDIR@/libubuntuone/u1-music-store.h</file>
6 <file>@TOP_SRCDIR@/libubuntuone/u1-music-store.c</file>
6 </namespace>7 </namespace>
7 </library>8 </library>
8 </api>9 </api>
910
=== modified file 'libubuntuone/u1-music-store.h'
--- libubuntuone/u1-music-store.h 2010-05-27 11:51:36 +0000
+++ libubuntuone/u1-music-store.h 2010-08-26 23:23:38 +0000
@@ -24,6 +24,7 @@
2424
25#include <gtk/gtk.h>25#include <gtk/gtk.h>
2626
27
27G_BEGIN_DECLS28G_BEGIN_DECLS
2829
29#define U1_TYPE_MUSIC_STORE (u1_music_store_get_type ())30#define U1_TYPE_MUSIC_STORE (u1_music_store_get_type ())
@@ -33,14 +34,16 @@
33#define U1_IS_MUSIC_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), U1_TYPE_MUSIC_STORE))34#define U1_IS_MUSIC_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), U1_TYPE_MUSIC_STORE))
34#define U1_MUSIC_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), U1_TYPE_MUSIC_STORE, U1MusicStoreClass))35#define U1_MUSIC_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), U1_TYPE_MUSIC_STORE, U1MusicStoreClass))
3536
37typedef struct _U1MusicStore U1MusicStore;
38typedef struct _U1MusicStoreClass U1MusicStoreClass;
36typedef struct _U1MusicStorePrivate U1MusicStorePrivate;39typedef struct _U1MusicStorePrivate U1MusicStorePrivate;
3740
38typedef struct {41struct _U1MusicStore {
39 GtkVBox parent;42 GtkVBox parent;
40 U1MusicStorePrivate *priv;43 U1MusicStorePrivate *priv;
41} U1MusicStore;44};
4245
43typedef struct {46struct _U1MusicStoreClass {
44 GtkVBoxClass parent_class;47 GtkVBoxClass parent_class;
4548
46 /* Signals */49 /* Signals */
@@ -48,9 +51,9 @@
48 void (* play_library) (U1MusicStore *music_store, const gchar *path);51 void (* play_library) (U1MusicStore *music_store, const gchar *path);
49 void (* url_loaded) (U1MusicStore *music_store, const gchar *url);52 void (* url_loaded) (U1MusicStore *music_store, const gchar *url);
50 void (* download_finished) (U1MusicStore *music_store, const gchar *path);53 void (* download_finished) (U1MusicStore *music_store, const gchar *path);
51} U1MusicStoreClass;54};
5255
53GType u1_music_store_get_type (void);56GType u1_music_store_get_type (void);
5457
55GtkWidget *u1_music_store_new (void);58GtkWidget *u1_music_store_new (void);
56const gchar *u1_music_store_get_library_location (U1MusicStore *music_store);59const gchar *u1_music_store_get_library_location (U1MusicStore *music_store);

Subscribers

People subscribed via source and target branches