Code cleanup

This commit is contained in:
Pierre Pronchery 2014-06-27 19:59:03 +02:00
parent b4a622aa05
commit 26a98fdbd6
3 changed files with 6 additions and 5 deletions

View File

@ -28,11 +28,11 @@
#include <errno.h>
#include <libintl.h>
#include <Desktop.h>
#include <Desktop/Keyboard.h>
#include <gdk/gdkx.h>
#if GTK_CHECK_VERSION(3, 0, 0)
# include <gtk/gtkx.h>
#endif
#include <Desktop/Keyboard.h>
#include "Panel.h"
#define _(string) gettext(string)

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2011-2013 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011-2014 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Panel */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -15,14 +15,14 @@
#include "Panel.h"
#include <stdlib.h>
#include <libintl.h>
#include <Desktop.h>
#if GTK_CHECK_VERSION(3, 0, 0)
# include <gtk/gtkx.h>
#endif
#include <gdk/gdkx.h>
#include <Desktop.h>
#include "Panel.h"
#define _(string) gettext(string)
#define N_(string) (string)

View File

@ -15,15 +15,16 @@
#include "Panel.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
#if GTK_CHECK_VERSION(3, 0, 0)
# include <gtk/gtkx.h>
#endif
#include <gdk/gdkx.h>
#include <X11/Xatom.h>
#include "Panel.h"
/* Systray */