]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkappchooser.h
appchooserdialog: remove redundant checks
[~andy/gtk] / gtk / gtkappchooser.h
index e1665291b994a76bf21695afe73435bf0c33ec88..33d18aab67b87ecfab26bd42428d9426b933804c 100644 (file)
  * 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.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  *
  * Authors: Cosimo Cecchi <ccecchi@redhat.com>
  */
 
+#ifndef __GTK_APP_CHOOSER_H__
+#define __GTK_APP_CHOOSER_H__
+
 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#ifndef __GTK_APP_CHOOSER_H__
-#define __GTK_APP_CHOOSER_H__
-
 #include <glib.h>
 #include <gio/gio.h>
 
 G_BEGIN_DECLS
 
-#define GTK_TYPE_APP_CHOOSER\
-  (gtk_app_chooser_get_type ())
-#define GTK_APP_CHOOSER(obj)\
-  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser))
-#define GTK_IS_APP_CHOOSER(obj)\
-  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER))
+#define GTK_TYPE_APP_CHOOSER    (gtk_app_chooser_get_type ())
+#define GTK_APP_CHOOSER(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser))
+#define GTK_IS_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER))
 
 typedef struct _GtkAppChooser GtkAppChooser;
 
-GType gtk_app_chooser_get_type () G_GNUC_CONST;
+GType      gtk_app_chooser_get_type         (void) G_GNUC_CONST;
 
-GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self);
-gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self);
-void gtk_app_chooser_refresh (GtkAppChooser *self);
+GAppInfo * gtk_app_chooser_get_app_info     (GtkAppChooser *self);
+gchar *    gtk_app_chooser_get_content_type (GtkAppChooser *self);
+void       gtk_app_chooser_refresh          (GtkAppChooser *self);
 
 G_END_DECLS