Browse Source

return page number on tab append

CPP-GTK4
yggverse 2 months ago
parent
commit
7a522cb1e1
  1. 4
      src/app/browser/main/tab.cpp
  2. 2
      src/app/browser/main/tab.hpp

4
src/app/browser/main/tab.cpp

@ -167,7 +167,7 @@ void Tab::refresh(
); );
} }
void Tab::append( int Tab::append(
const unsigned char * REQUEST, const unsigned char * REQUEST,
const bool & FOCUS const bool & FOCUS
) { ) {
@ -198,6 +198,8 @@ void Tab::append(
PAGE_NUMBER PAGE_NUMBER
); );
} }
return PAGE_NUMBER;
}; };
void Tab::close( void Tab::close(

2
src/app/browser/main/tab.hpp

@ -69,7 +69,7 @@ namespace app::browser::main
const int & PAGE_NUMBER // @TODO const int & PAGE_NUMBER // @TODO
); );
void append( int append(
const unsigned char * REQUEST, const unsigned char * REQUEST,
const bool & FOCUS const bool & FOCUS
); );

Loading…
Cancel
Save