diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-08-27 17:15:31 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-08-27 17:15:31 +0000 |
commit | bd758ee4fc423b9ca152a01f897609daa656c938 (patch) | |
tree | 0378306b5b007f38f0c4f6c0d868215f70fd70d6 /src/trg-remote-prefs-dialog.c | |
parent | b8a1599a2ab9eafd496ba23179dda97d6e83e917 (diff) |
Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf.
Diffstat (limited to 'src/trg-remote-prefs-dialog.c')
-rw-r--r-- | src/trg-remote-prefs-dialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c index a65371f..880d811 100644 --- a/src/trg-remote-prefs-dialog.c +++ b/src/trg-remote-prefs-dialog.c @@ -44,7 +44,7 @@ enum { typedef struct _TrgRemotePrefsDialogPrivate TrgRemotePrefsDialogPrivate; struct _TrgRemotePrefsDialogPrivate { - trg_client *client; + TrgClient *client; TrgMainWindow *parent; GtkWidget *done_script_entry; @@ -587,7 +587,7 @@ static GObject *trg_remote_prefs_dialog_constructor(GType type, n_construct_properties, construct_params); priv = TRG_REMOTE_PREFS_DIALOG_GET_PRIVATE(object); - session = priv->client->session; + session = trg_client_get_session(priv->client); gtk_window_set_title(GTK_WINDOW(object), _("Remote Preferences")); gtk_window_set_transient_for(GTK_WINDOW(object), @@ -679,7 +679,7 @@ trg_remote_prefs_dialog_init(TrgRemotePrefsDialog * self G_GNUC_UNUSED) TrgRemotePrefsDialog *trg_remote_prefs_dialog_get_instance(TrgMainWindow * parent, - trg_client * + TrgClient * client) { if (instance == NULL) { |