diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-21 10:44:26 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-21 10:44:26 +0000 |
commit | aefbaedc610b92e8d931231c164b0b7794a2619a (patch) | |
tree | 7caa8a390c50c7ff17e747a3c3c29dea9663da8d /gdk/gdkapplaunchcontext.h | |
parent | d3ce448c208da3bdc27367ee8e3459e2e211ba78 (diff) | |
download | gtk+-aefbaedc610b92e8d931231c164b0b7794a2619a.tar.gz |
remove redundant include, fix indentation, replace header by a GDK
2008-06-21 Michael Natterer <mitch@imendio.com>
* gdk/gdkapplaunchcontext.h: remove redundant include, fix
indentation, replace header by a GDK copyright header (don't say
"The Gnome Library"), remove trailing whitespace.
svn path=/trunk/; revision=20663
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r-- | gdk/gdkapplaunchcontext.h | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h index 7b0cf9ad7e..95de92be37 100644 --- a/gdk/gdkapplaunchcontext.h +++ b/gdk/gdkapplaunchcontext.h @@ -1,24 +1,24 @@ /* gdkapplaunchcontext.h - Gtk+ implementation for GAppLaunchContext - - Copyright (C) 2007 Red Hat, Inc. - - The Gnome Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The Gnome Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the Gnome Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - - Author: Alexander Larsson <alexl@redhat.com> -*/ + * + * Copyright (C) 2007 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Alexander Larsson <alexl@redhat.com> + */ #if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) #error "Only <gdk/gdk.h> can be included directly." @@ -27,9 +27,8 @@ #ifndef __GDK_APP_LAUNCH_CONTEXT_H__ #define __GDK_APP_LAUNCH_CONTEXT_H__ -#include <glib.h> #include <gio/gio.h> -#include <gdk/gdkdisplay.h> +#include <gdk/gdkscreen.h> G_BEGIN_DECLS @@ -46,17 +45,17 @@ typedef struct GdkAppLaunchContextPrivate GdkAppLaunchContextPrivate; struct GdkAppLaunchContext { - GAppLaunchContext parent_instance; - - GdkAppLaunchContextPrivate *priv; + GAppLaunchContext parent_instance; + + GdkAppLaunchContextPrivate *priv; }; -struct GdkAppLaunchContextClass +struct GdkAppLaunchContextClass { - GAppLaunchContextClass parent_class; + GAppLaunchContextClass parent_class; }; -GType gdk_app_launch_context_get_type (void); +GType gdk_app_launch_context_get_type (void); GdkAppLaunchContext *gdk_app_launch_context_new (void); void gdk_app_launch_context_set_display (GdkAppLaunchContext *context, @@ -75,5 +74,3 @@ void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext * G_END_DECLS #endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */ - - |