Revert my last proxy-related change.
2001-07-18 Richard Hestilow <hestilow@ximian.com> * capplet-util.[ch]: Revert my last proxy-related change.
This commit is contained in:
parent
59a807f174
commit
cefd029e80
3 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-07-18 Richard Hestilow <hestilow@ximian.com>
|
||||
|
||||
* capplet-util.[ch]: Revert my last proxy-related change.
|
||||
|
||||
2001-07-18 Richard Hestilow <hestilow@ximian.com>
|
||||
|
||||
* capplet-util.h (CreateDialogFn): Add a PropertyBag argument so
|
||||
|
|
|
@ -146,15 +146,12 @@ get_control_cb (BonoboPropertyControl *property_control, gint page_number)
|
|||
GtkWidget *pf;
|
||||
|
||||
if (control == NULL) {
|
||||
pf = bonobo_property_frame_new (NULL, NULL);
|
||||
widget = create_dialog_cb (BONOBO_OBJREF (BONOBO_PROPERTY_FRAME (pf)->proxy));
|
||||
widget = create_dialog_cb (void);
|
||||
|
||||
if (widget == NULL)
|
||||
{
|
||||
bonobo_object_unref (BONOBO_OBJECT (pf));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pf = bonobo_property_frame_new (NULL, NULL);
|
||||
gtk_object_set_data (GTK_OBJECT (property_control),
|
||||
"property-frame", pf);
|
||||
gtk_container_add (GTK_CONTAINER (pf), widget);
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
typedef void (*ApplySettingsFn) (Bonobo_ConfigDatabase db);
|
||||
|
||||
/* Callback to set up the dialog proper */
|
||||
typedef GtkWidget *(*CreateDialogFn) (Bonobo_PropertyBag bag);
|
||||
typedef GtkWidget *(*CreateDialogFn) (void);
|
||||
|
||||
/* Callback to set up property editors for the dialog */
|
||||
typedef void (*SetupPropertyEditorsFn) (GtkWidget *dialog, Bonobo_PropertyBag bag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue