X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-message-area.h;h=953a7442edee16e1573cf2d72b056510426ab3c9;hb=e769474337c9a6ffdaed2327056e8de2f7ca9ee4;hp=7128482379805a1688e36ac7c2accc3ede3cf227;hpb=4dcc88ed0bccf5fcd0d8b458cc933b14ddf1ee8a;p=evince.git diff --git a/shell/ev-message-area.h b/shell/ev-message-area.h index 71284823..953a7442 100644 --- a/shell/ev-message-area.h +++ b/shell/ev-message-area.h @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef EV_MESSAGE_AREA_H @@ -26,8 +26,6 @@ #include -#include "gedit-message-area.h" - G_BEGIN_DECLS #define EV_TYPE_MESSAGE_AREA (ev_message_area_get_type ()) @@ -42,14 +40,14 @@ typedef struct _EvMessageAreaClass EvMessageAreaClass; typedef struct _EvMessageAreaPrivate EvMessageAreaPrivate; struct _EvMessageArea { - GeditMessageArea parent_instance; + GtkInfoBar parent_instance; /*< private >*/ EvMessageAreaPrivate *priv; }; struct _EvMessageAreaClass { - GeditMessageAreaClass parent_class; + GtkInfoBarClass parent_class; }; GType ev_message_area_get_type (void) G_GNUC_CONST; @@ -66,6 +64,11 @@ void ev_message_area_set_text (EvMessageArea *area, void ev_message_area_set_secondary_text (EvMessageArea *area, const gchar *str); +void _ev_message_area_add_buttons_valist (EvMessageArea *area, + const gchar *first_button_text, + va_list args); +GtkWidget *_ev_message_area_get_main_box (EvMessageArea *area); + G_END_DECLS #endif /* EV_MESSAGE_AREA_H */