const gchar *domain;
g_return_val_if_fail(d, NULL);
+ g_return_val_if_fail(AUI_IS_SERVICE_DIALOG(d), NULL);
if (d->priv->domain)
return d->priv->domain;
gtk_widget_show(d->priv->service_progress_bar);
if (d->priv->service_pulse_timeout <= 0)
- d->priv->service_pulse_timeout = g_timeout_add(100, service_pulse_callback, d->priv);
+ d->priv->service_pulse_timeout = g_timeout_add(100, service_pulse_callback, d);
for (i = 0; d->priv->browse_service_types[i]; i++)
;
gtk_widget_set_sensitive(d->priv->domain_ok_button, is_valid_domain_suffix(gtk_entry_get_text(GTK_ENTRY(d->priv->domain_entry))));
}
-static void domain_button_clicked(GtkButton *button, gpointer user_data) {
+static void domain_button_clicked(GtkButton *button, gpointer user_data) {
GtkWidget *vbox, *vbox2, *scrolled_window;
GtkTreeSelection *selection;
GtkCellRenderer *renderer;