Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22 Sebastien Bacher <seb128@debian.org> * ChangeLog capplets/about-me/e-image-chooser.c capplets/accessibility/at-properties/at-startup-session.h capplets/accessibility/keyboard/accessibility-keyboard.c capplets/background/gnome-wp-info.c capplets/common/gconf-property-editor.c capplets/common/gnome-theme-apply.c capplets/default-applications/gnome-default-applications-properties.c capplets/keybindings/gnome-keybinding-properties.c capplets/keyboard/gnome-keyboard-properties.c capplets/mouse/gnome-mouse-properties.c capplets/network/gnome-network-preferences.c capplets/sound/sound-properties-capplet.c capplets/theme-switcher/gnome-theme-details.c capplets/theme-switcher/gnome-theme-manager.c capplets/ui-properties/gnome-ui-properties.c capplets/windows/gnome-window-properties.c gnome-settings-daemon/factory.c gnome-settings-daemon/gnome-settings-accessibility-keyboard.c gnome-settings-daemon/gnome-settings-background.c gnome-settings-daemon/gnome-settings-daemon.c gnome-settings-daemon/gnome-settings-daemon.h gnome-settings-daemon/gnome-settings-font.c gnome-settings-daemon/gnome-settings-keybindings.c gnome-settings-daemon/gnome-settings-keybindings.h gnome-settings-daemon/gnome-settings-keyboard-xkb.c gnome-settings-daemon/gnome-settings-keyboard.c gnome-settings-daemon/gnome-settings-locate-pointer.h gnome-settings-daemon/gnome-settings-mouse.c gnome-settings-daemon/gnome-settings-multimedia-keys.c gnome-settings-daemon/gnome-settings-screensaver.c gnome-settings-daemon/gnome-settings-sound.c gnome-settings-daemon/gnome-settings-xmodmap.c gnome-settings-daemon/gnome-settings-xrdb.c gnome-settings-daemon/gnome-settings-xsettings.c libbackground/applier.c libbackground/applier.h libbackground/preferences.c libsounds/sound-properties.c libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c libwindow-settings/metacity-window-manager.c typing-break/drw-break-window.c typing-break/drw-utils.h typing-break/drwright.c vfs-methods/fontilus/font-view.c vfs-methods/themus/themus-theme-applier.c: Cleanup of gconf and a few other things, patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
This commit is contained in:
parent
912f58a06f
commit
581c37e2bb
46 changed files with 238 additions and 109 deletions
|
@ -21,17 +21,22 @@
|
|||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "drwright.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
#include <gdk/gdk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <libgnomeui/gnome-stock-icons.h>
|
||||
#include <libgnomeui/gnome-client.h>
|
||||
#include <libgnome/gnome-i18n.h>
|
||||
|
||||
#include <gconf/gconf-client.h>
|
||||
#include "drwright.h"
|
||||
|
||||
#include "drw-break-window.h"
|
||||
#include "drw-monitor.h"
|
||||
#include "drw-utils.h"
|
||||
|
@ -139,7 +144,6 @@ static GtkItemFactoryEntry popup_items[] = {
|
|||
{ N_("/_Take a Break"), NULL, GIF_CB (popup_break_cb), POPUP_ITEM_BREAK, "<Item>", NULL }
|
||||
};
|
||||
|
||||
GConfClient *client = NULL;
|
||||
extern gboolean debug;
|
||||
|
||||
static void
|
||||
|
@ -911,6 +915,7 @@ drwright_new (void)
|
|||
{
|
||||
DrWright *dr;
|
||||
GtkWidget *item;
|
||||
GConfClient *client;
|
||||
|
||||
dr = g_new0 (DrWright, 1);
|
||||
|
||||
|
@ -940,6 +945,8 @@ drwright_new (void)
|
|||
GCONF_PATH "/enabled",
|
||||
NULL);
|
||||
|
||||
g_object_unref (client);
|
||||
|
||||
if (debug) {
|
||||
setup_debug_values (dr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue