From 09d18721e3015b9e4cc448f1f3620da54784ebba Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 27 Oct 2008 12:17:08 +0000 Subject: Bug 558064 – build with single includes svn path=/trunk/; revision=3240 --- (limited to 'cut-n-paste/zoom-control') diff --git a/cut-n-paste/zoom-control/ephy-zoom-action.c b/cut-n-paste/zoom-control/ephy-zoom-action.c index 3aadf84..986e3ef 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-action.c +++ b/cut-n-paste/zoom-control/ephy-zoom-action.c @@ -29,11 +29,7 @@ #include #include -#include -#include -#include -#include -#include +#include #define EPHY_ZOOM_ACTION_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_ZOOM_ACTION, EphyZoomActionPrivate)) diff --git a/cut-n-paste/zoom-control/ephy-zoom-action.h b/cut-n-paste/zoom-control/ephy-zoom-action.h index 77f9b41..47399db 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-action.h +++ b/cut-n-paste/zoom-control/ephy-zoom-action.h @@ -22,7 +22,7 @@ #ifndef EPHY_ZOOM_ACTION_H #define EPHY_ZOOM_ACTION_H -#include +#include G_BEGIN_DECLS diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c index 2f372d9..66efbaa 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-control.c +++ b/cut-n-paste/zoom-control/ephy-zoom-control.c @@ -26,10 +26,6 @@ #include "ephy-zoom.h" #include -#include -#if !GTK_CHECK_VERSION (2, 11, 5) -#include -#endif #include #define EPHY_ZOOM_CONTROL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_ZOOM_CONTROL, EphyZoomControlPrivate)) @@ -177,8 +173,7 @@ ephy_zoom_control_init (EphyZoomControl *control) NULL, NULL); gtk_combo_box_set_focus_on_click (p->combo, FALSE); - g_object_ref (p->combo); - gtk_object_sink (GTK_OBJECT (p->combo)); + g_object_ref_sink (G_OBJECT (p->combo)); gtk_widget_show (GTK_WIDGET (p->combo)); i = ephy_zoom_get_zoom_level_index (p->zoom); diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.h b/cut-n-paste/zoom-control/ephy-zoom-control.h index 6c2f5ba..b339a4d 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-control.h +++ b/cut-n-paste/zoom-control/ephy-zoom-control.h @@ -21,7 +21,7 @@ #ifndef EPHY_ZOOM_CONTROL_H #define EPHY_ZOOM_CONTROL_H -#include +#include G_BEGIN_DECLS -- cgit v0.9.1