Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
This commit is contained in:
parent
25e515ba6a
commit
1eef9d7561
13 changed files with 145 additions and 38 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-02-12 Lauris Kaplinski <lauris@ximian.com>
|
||||
|
||||
* background-properties-capplet.c (dialog_button_clicked_cb): Use
|
||||
GtkDialog instead of GnomeDialog
|
||||
|
||||
2002-02-06 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* background-properties-capplet.c: (drag_motion_cb),
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gconf/gconf-client.h>
|
||||
#include <glade/glade.h>
|
||||
|
@ -263,7 +265,7 @@ create_dialog (BGApplier *bg_applier)
|
|||
/* Callback issued when a button is clicked on the dialog */
|
||||
|
||||
static void
|
||||
dialog_button_clicked_cb (GnomeDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||
dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *changeset)
|
||||
{
|
||||
switch (response_id) {
|
||||
case GTK_RESPONSE_APPLY:
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2002-02-12 Lauris Kaplinski <lauris@ximian.com>
|
||||
|
||||
* gconf-property-editor.c (peditor_font_value_changed): Kill warning
|
||||
|
||||
2002-02-10 Richard Hestilow <hestilow@ximian.com>
|
||||
|
||||
* gconf-property-editor.[ch]: Added font editor.
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "gconf-property-editor.h"
|
||||
|
@ -899,7 +900,7 @@ peditor_font_value_changed (GConfClient *client,
|
|||
value = gconf_entry_get_value (entry);
|
||||
|
||||
if (value != NULL) {
|
||||
gchar *font_name;
|
||||
const gchar *font_name;
|
||||
|
||||
value_wid = peditor->p->conv_to_widget_cb (value);
|
||||
font_name = gconf_value_get_string (value_wid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue